#0066CC

#0066CC — Color Codes & Palette

#0066CC  ·  rgb(0, 102, 204)  ·  hsl(210, 100%, 40%)

Color Codes

Format Value
HEX #0066CC
RGB rgb(0, 102, 204)
HSL hsl(210, 100%, 40%)

Shades of #0066CC

#005CB8#0052A3#00478F#003D7A#003366#002952#001F3D#001429

Tints of #0066CC

#0075EB#0A85FF#2994FF#47A3FF#66B3FF#85C2FF#A3D1FF#C2E0FF

Color Pairings & Harmony

Complementary
#CC6600
Analogous +30°
#0000CC
Analogous −30°
#00CCCC
Triadic +120°
#CC0066
Triadic −120°
#66CC00

Contrast & Accessibility (WCAG 2.1)

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

CSS Snippet

.element {
  color: #0066CC;
}

.element-bg {
  background-color: #0066CC;
  color: #ffffff;
}

.element-border {
  border: 2px solid #0066CC;
}

About #0066CC

#0066CC is a medium color with vivid, highly saturated, defined by the hex code #0066CC. Its exact color model values are rgb(0, 102, 204) in RGB and hsl(210, 100%, 40%) in HSL (hue 210°, saturation 100%, lightness 40%). On a white background the contrast ratio is 5.57:1 — AA pass for normal text, and on black it is 3.77:1 — AA pass for large text only. Use #0066CC 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 #0066CC?
The RGB value of #0066CC (#0066CC) is rgb(0, 102, 204). Red = rgb(0, 102, 204), representing the amounts of red, green, and blue light on a 0–255 scale.
Is #0066CC accessible on a white background?
The contrast ratio of #0066CC on white (#FFFFFF) is 5.57:1 — AA pass for normal text. On black (#000000) the contrast ratio is 3.77:1 — AA pass for large text only. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with #0066CC?
Based on color theory, #0066CC (hsl(210, 100%, 40%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.