#6666EE color

#6666EE is rgb(102, 102, 238) in RGB and hsl(240, 80%, 67%) in HSL. The closest CSS named color is mediumslateblue (#7b68ee, ΔE 3.5). Use black text on it (contrast 4.70:1).

#6666EEindigo
HEX#6666EE
Short HEX#66E
RGBrgb(102, 102, 238)
RGB percentrgb(40%, 40%, 93.3%)
HSLhsl(240, 80%, 67%)
HSV / HSBhsv(240, 57%, 93%)
CMYKcmyk(57%, 57%, 0%, 7%)

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

About #6666EE

#6666EE is a light, vivid 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 238 (93%) and red the weakest at 102 (40%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#6666EE
Short HEX#66E
RGBrgb(102, 102, 238)
RGB percentrgb(40%, 40%, 93.3%)
HSLhsl(240, 80%, 67%)
HSV / HSBhsv(240, 57%, 93%)
CMYKcmyk(57%, 57%, 0%, 7%)
CIELAB (D65)lab(50.1 38.3 -68.8)
Decimal6711022
Binary01100110 01100110 11101110

HEX 66 66 EE → 102, 102, 238 (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 #6666EE

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #6666EERatioAA normalAA largeAAA normalAAA large
White text4.47:1FailPassFailFail
Black text4.70:1PassPassFailPass
White text on #6666EE
Black text on #6666EE
#6666EE text on white
#6666EE text on black

Relative luminance is 0.1850 (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
#007df3

Deuteranopia
#0072eb

Tritanopia
#0c86a0

Achromatopsia
#777777

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 10.9). 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
mediumslateblue#7b68ee3.5
royalblue#4169e16.2
slateblue#6a5acd6.2
mediumpurple#9370db9.3

Nearby colors

CSS

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

Frequently asked questions

What color is #6666EE?
A light vivid indigo in the blue family. Closest CSS name: mediumslateblue.
What is #6666EE in RGB?
rgb(102, 102, 238): red 102, green 102, blue 238.
What is the complementary color of #6666EE?
#EEEE66, found by rotating the hue 180°.