#666AEE#666AEE

#666AEE is a mid, vivid blue. Relative luminance 0.193; OKLCH L 59.2% C 0.195 H 277.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#666AEE
RGBrgb(102, 106, 238)
HSLhsl(238, 80%, 67%)
HSVhsv(238, 57%, 93%)
CMYKcmyk(57.1%, 55.5%, 0%, 6.7%)
CIE-LABlab(51.04, 35.86, -67.28)
CIE-LCHlch(51.04, 76.24, 298.06°)
OKLaboklab(59.22% 0.0249 -0.1929)
OKLCHoklch(59.22% 0.195 277.4)
XYZxyz(26.0612, 19.3040, 83.2251)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AEE #EEEA66
analogous
#66AEEE #666AEE #A666EE
triadic
#666AEE #EE666A #6AEE66
tetradic
#666AEE #EE66AE #EEEA66 #66EEA6
square
#666AEE #EE66AE #EEEA66 #66EEA6
split-complementary
#666AEE #EEA666 #AEEE66
monochromatic
#161BC4 #2F34E8 #666AEE #9DA0F4 #D4D5FA

Accessibility & contrast

On white

4.32
#666AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#666AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AEE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AEE#FFFFFF#000000##000000
##666AEE1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#0A89A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #666aee;
/* rgb */ color: rgb(102, 106, 238);
/* oklch */ color: oklch(59.2% 0.195 277.4);
Tailwind
colors: {
  custom: {
    50: '#9d94f4',
    500: '#666aee',
    950: '#000000',
  },
}
SCSS
$custom: #666aee;
$custom-light: #9d94f4;
$custom-dark: #000000;
JSON
{
  "hex": "#666aee",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 238.235,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59224,
    "c": 0.19453,
    "h": 277.4
  },
  "luminance": 0.19306
}

Semantic roles & 50–950 ramp

primary
#666AEE
secondary
#EEEDC2
accent
#D609DC
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666AEE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#666AEE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva