#007AFF

#007AFF — Color Codes & Palette

#007AFF  ·  rgb(0, 122, 255)  ·  hsl(211, 100%, 50%)

Color Codes

Format Value
HEX #007AFF
RGB rgb(0, 122, 255)
HSL hsl(211, 100%, 50%)

Shades of #007AFF

#006FE6#0063CC#0056B3#004A99#003E80#003166#00254D#001933

Tints of #007AFF

#1A88FF#3396FF#4DA3FF#66B0FF#80BDFF#99CAFF#B3D7FF#CCE5FF

Color Pairings & Harmony

Complementary
#FF8400
Analogous +30°
#0400FF
Analogous −30°
#00FBFF
Triadic +120°
#FF007B
Triadic −120°
#7BFF00

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
4.02:1 — AA pass for large text only
vs. Black (#000000)
5.23:1 — AA pass for normal text

CSS Snippet

.element {
  color: #007AFF;
}

.element-bg {
  background-color: #007AFF;
  color: #000000;
}

.element-border {
  border: 2px solid #007AFF;
}

About #007AFF

#007AFF is a medium color with vivid, highly saturated, defined by the hex code #007AFF. Its exact color model values are rgb(0, 122, 255) in RGB and hsl(211, 100%, 50%) in HSL (hue 211°, saturation 100%, lightness 50%). On a white background the contrast ratio is 4.02:1 — AA pass for large text only, and on black it is 5.23:1 — AA pass for normal text. Use #007AFF for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of #007AFF?
The RGB value of #007AFF (#007AFF) is rgb(0, 122, 255). Red = rgb(0, 122, 255), representing the amounts of red, green, and blue light on a 0–255 scale.
Is #007AFF accessible on a white background?
The contrast ratio of #007AFF on white (#FFFFFF) is 4.02:1 — AA pass for large text only. On black (#000000) the contrast ratio is 5.23:1 — AA pass for normal text. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with #007AFF?
Based on color theory, #007AFF (hsl(211, 100%, 50%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.