#0066DD color

#0066DD is rgb(0, 102, 221) in RGB and hsl(212, 100%, 43%) in HSL. The closest CSS named color is royalblue (#4169e1, ΔE 4.2). Use white text on it (contrast 5.32:1).

#0066DDblue
HEX#0066DD
Short HEX#06D
RGBrgb(0, 102, 221)
RGB percentrgb(0%, 40%, 86.7%)
HSLhsl(212, 100%, 43%)
HSV / HSBhsv(212, 100%, 87%)
CMYKcmyk(100%, 54%, 0%, 13%)

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

About #0066DD

#0066DD is a medium, vivid blue with a hue angle of 212°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 221 (87%) 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#0066DD
Short HEX#06D
RGBrgb(0, 102, 221)
RGB percentrgb(0%, 40%, 86.7%)
HSLhsl(212, 100%, 43%)
HSV / HSBhsv(212, 100%, 87%)
CMYKcmyk(100%, 54%, 0%, 13%)
CIELAB (D65)lab(45.2 22 -67.3)
Decimal26333
Binary00000000 01100110 11011101

HEX 00 66 DD → 0, 102, 221 (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 #0066DD

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #0066DDRatioAA normalAA largeAAA normalAAA large
White text5.32:1PassPassFailPass
Black text3.94:1FailPassFailFail
White text on #0066DD
Black text on #0066DD
#0066DD text on white
#0066DD text on black

Relative luminance is 0.1472 (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
#0074e1

Deuteranopia
#0063db

Tritanopia
#008497

Achromatopsia
#6b6b6b

People with red–green color blindness see this color almost unchanged (ΔE 1.1 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#4169e14.2
steelblue#4682b410.4
slateblue#6a5acd12.3
mediumslateblue#7b68ee13.7

Nearby colors

CSS

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

Frequently asked questions

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