#0066EE color

#0066EE is rgb(0, 102, 238) in RGB and hsl(214, 100%, 47%) in HSL. The closest CSS named color is royalblue (#4169e1, ΔE 3.1). Use white text on it (contrast 5.08:1).

#0066EEblue
HEX#0066EE
Short HEX#06E
RGBrgb(0, 102, 238)
RGB percentrgb(0%, 40%, 93.3%)
HSLhsl(214, 100%, 47%)
HSV / HSBhsv(214, 100%, 93%)
CMYKcmyk(100%, 57%, 0%, 7%)

Edit in the color converter → · Check contrast → · Shades →

About #0066EE

#0066EE is a medium, vivid blue with a hue angle of 214°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 238 (93%) and red the weakest at 0 (0%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#0066EE
Short HEX#06E
RGBrgb(0, 102, 238)
RGB percentrgb(0%, 40%, 93.3%)
HSLhsl(214, 100%, 47%)
HSV / HSBhsv(214, 100%, 93%)
CMYKcmyk(100%, 57%, 0%, 7%)
CIELAB (D65)lab(46.5 28.7 -74.7)
Decimal26350
Binary00000000 01100110 11101110

HEX 00 66 EE → 0, 102, 238 (each pair is a base-16 number: 0×16 + 0 = 0)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #0066EE

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #0066EERatioAA normalAA largeAAA normalAAA large
White text5.08:1PassPassFailPass
Black text4.14:1FailPassFailFail
White text on #0066EE
Black text on #0066EE
#0066EE text on white
#0066EE text on black

Relative luminance is 0.1568 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#0078f3

Deuteranopia
#0065eb

Tritanopia
#0089a0

Achromatopsia
#6e6e6e

People with red–green color blindness see this color almost unchanged (ΔE 0.5 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
royalblue#4169e13.1
steelblue#4682b410.6
slateblue#6a5acd11.4
mediumslateblue#7b68ee12

Nearby colors

CSS

.element {
  color: #0066ee;
  background-color: rgb(0, 102, 238);
  border: 1px solid hsl(214, 100%, 47%);
  box-shadow: 0 2px 8px rgb(0 102 238 / 50%);
}
:root { --brand: #0066ee; }

Frequently asked questions

What color is #0066EE?
A medium vivid blue in the blue family. Closest CSS name: royalblue.
What is #0066EE in RGB?
rgb(0, 102, 238): red 0, green 102, blue 238.
What is the complementary color of #0066EE?
#EE8800, found by rotating the hue 180°.