#666AED#666AED

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

Color values

HEX#666AED
RGBrgb(102, 106, 237)
HSLhsl(238, 79%, 66%)
HSVhsv(238, 57%, 93%)
CMYKcmyk(57%, 55.3%, 0%, 7.1%)
CIE-LABlab(50.97, 35.54, -66.83)
CIE-LCHlch(50.97, 75.69, 298.01°)
OKLaboklab(59.15% 0.0249 -0.1916)
OKLCHoklch(59.15% 0.193 277.4)
XYZxyz(25.9147, 19.2454, 82.4535)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AED #EDE966
analogous
#66AEED #666AED #A666ED
triadic
#666AED #ED666A #6AED66
tetradic
#666AED #ED66AE #EDE966 #66EDA6
square
#666AED #ED66AE #EDE966 #66EDA6
split-complementary
#666AED #EDA666 #AEED66
monochromatic
#171CC2 #2F35E7 #666AED #9D9FF3 #D4D5FA

Accessibility & contrast

On white

4.33
#666AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#666AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AED
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AED#FFFFFF#000000##000000
##666AED1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF1
Deuteranopia (green-blind)
#0074EA
Tritanopia (blue-blind)
#0E89A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #666aed;
/* rgb */ color: rgb(102, 106, 237);
/* oklch */ color: oklch(59.2% 0.193 277.4);
Tailwind
colors: {
  custom: {
    50: '#9d94f4',
    500: '#666aed',
    950: '#000000',
  },
}
SCSS
$custom: #666aed;
$custom-light: #9d94f4;
$custom-dark: #000000;
JSON
{
  "hex": "#666aed",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 237
  },
  "hsl": {
    "h": 238.222,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59151,
    "c": 0.19322,
    "h": 277.4
  },
  "luminance": 0.19247
}

Semantic roles & 50–950 ramp

primary
#666AED
secondary
#EDECC2
accent
#D50ADB
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666AED

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

Preview Lab → · Contrast checker → · Palette generator →

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