#666CEE#666CEE

#666CEE is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.6% C 0.192 H 276.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#666CEE
RGBrgb(102, 108, 238)
HSLhsl(237, 80%, 67%)
HSVhsv(237, 57%, 93%)
CMYKcmyk(57.1%, 54.6%, 0%, 6.7%)
CIE-LABlab(51.52, 34.66, -66.50)
CIE-LCHlch(51.52, 74.99, 297.53°)
OKLaboklab(59.58% 0.023 -0.1906)
OKLCHoklch(59.58% 0.192 276.9)
XYZxyz(26.2697, 19.7211, 83.2946)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CEE #EEE866
analogous
#66B0EE #666CEE #A466EE
triadic
#666CEE #EE666C #6CEE66
tetradic
#666CEE #EE66B0 #EEE866 #66EEA4
square
#666CEE #EE66B0 #EEE866 #66EEA4
split-complementary
#666CEE #EEA466 #B0EE66
monochromatic
#161DC4 #2F37E8 #666CEE #9DA1F4 #D4D6FA

Accessibility & contrast

On white

4.25
#666CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#666CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666CEE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CEE#FFFFFF#000000##000000
##666CEE1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A81F2
Deuteranopia (green-blind)
#0075EB
Tritanopia (blue-blind)
#088AA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #666cee;
/* rgb */ color: rgb(102, 108, 238);
/* oklch */ color: oklch(59.6% 0.192 276.9);
Tailwind
colors: {
  custom: {
    50: '#9d96f4',
    500: '#666cee',
    950: '#000000',
  },
}
SCSS
$custom: #666cee;
$custom-light: #9d96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#666cee",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 237.353,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59581,
    "c": 0.19201,
    "h": 276.9
  },
  "luminance": 0.19723
}

Semantic roles & 50–950 ramp

primary
#666CEE
secondary
#EEECC2
accent
#D309DC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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