#6666BB color

#6666BB is rgb(102, 102, 187) in RGB and hsl(240, 38%, 57%) in HSL. The closest CSS named color is slateblue (#6a5acd, ΔE 5.1). Use white text on it (contrast 5.02:1).

#6666BBindigo
HEX#6666BB
Short HEX#66B
RGBrgb(102, 102, 187)
RGB percentrgb(40%, 40%, 73.3%)
HSLhsl(240, 38%, 57%)
HSV / HSBhsv(240, 45%, 73%)
CMYKcmyk(45%, 45%, 0%, 27%)

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

About #6666BB

#6666BB is a medium, muted indigo with a hue angle of 240°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 187 (73%) and red the weakest at 102 (40%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

HEX#6666BB
Short HEX#66B
RGBrgb(102, 102, 187)
RGB percentrgb(40%, 40%, 73.3%)
HSLhsl(240, 38%, 57%)
HSV / HSBhsv(240, 45%, 73%)
CMYKcmyk(45%, 45%, 0%, 27%)
CIELAB (D65)lab(46.9 22.4 -44.9)
Decimal6710971
Binary01100110 01100110 10111011

HEX 66 66 BB → 102, 102, 187 (each pair is a base-16 number: 6×16 + 6 = 102)

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 #6666BB

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #6666BBRatioAA normalAA largeAAA normalAAA large
White text5.02:1PassPassFailPass
Black text4.18:1FailPassFailFail
White text on #6666BB
Black text on #6666BB
#6666BB text on white
#6666BB text on black

Relative luminance is 0.1592 (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
#4472be

Deuteranopia
#3f6cb9

Tritanopia
#4a7887

Achromatopsia
#6f6f6f

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 8.8). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
slateblue#6a5acd5.1
royalblue#4169e18
mediumslateblue#7b68ee8.5
mediumpurple#9370db10.4

Nearby colors

CSS

.element {
  color: #6666bb;
  background-color: rgb(102, 102, 187);
  border: 1px solid hsl(240, 38%, 57%);
  box-shadow: 0 2px 8px rgb(102 102 187 / 50%);
}
:root { --brand: #6666bb; }

Frequently asked questions

What color is #6666BB?
A medium muted indigo in the blue family. Closest CSS name: slateblue.
What is #6666BB in RGB?
rgb(102, 102, 187): red 102, green 102, blue 187.
What is the complementary color of #6666BB?
#BBBB66, found by rotating the hue 180°.