#6666FF color

#6666FF is rgb(102, 102, 255) in RGB and hsl(240, 100%, 70%) in HSL. The closest CSS named color is mediumslateblue (#7b68ee, ΔE 3.7). Use black text on it (contrast 4.91:1).

#6666FFindigo
HEX#6666FF
Short HEX#66F
RGBrgb(102, 102, 255)
RGB percentrgb(40%, 40%, 100%)
HSLhsl(240, 100%, 70%)
HSV / HSBhsv(240, 60%, 100%)
CMYKcmyk(60%, 60%, 0%, 0%)

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

About #6666FF

#6666FF 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 255 (100%) and red the weakest at 102 (40%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

HEX#6666FF
Short HEX#66F
RGBrgb(102, 102, 255)
RGB percentrgb(40%, 40%, 100%)
HSLhsl(240, 100%, 70%)
HSV / HSBhsv(240, 60%, 100%)
CMYKcmyk(60%, 60%, 0%, 0%)
CIELAB (D65)lab(51.3 43.6 -76.3)
Decimal6711039
Binary01100110 01100110 11111111

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

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #6666FFRatioAA normalAA largeAAA normalAAA large
White text4.28:1FailPassFailFail
Black text4.91:1PassPassFailPass
White text on #6666FF
Black text on #6666FF
#6666FF text on white
#6666FF text on black

Relative luminance is 0.1955 (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
#0081ff

Deuteranopia
#0074fc

Tritanopia
#008ca9

Achromatopsia
#7a7a7a

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 10.1). 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.7
royalblue#4169e17.2
slateblue#6a5acd8
mediumpurple#9370db9.7

Nearby colors

CSS

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

Frequently asked questions

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