#666EED#666EED

#666EED is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.9% C 0.188 H 276.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#666EED
RGBrgb(102, 110, 237)
HSLhsl(236, 79%, 66%)
HSVhsv(236, 57%, 93%)
CMYKcmyk(57%, 53.6%, 0%, 7.1%)
CIE-LABlab(51.94, 33.13, -65.27)
CIE-LCHlch(51.94, 73.20, 296.92°)
OKLaboklab(59.87% 0.021 -0.187)
OKLCHoklch(59.87% 0.188 276.4)
XYZxyz(26.3366, 20.0892, 82.5941)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666EED #EDE566
analogous
#66B2ED #666EED #A266ED
triadic
#666EED #ED666E #6EED66
tetradic
#666EED #ED66B2 #EDE566 #66EDA2
square
#666EED #ED66B2 #EDE566 #66EDA2
split-complementary
#666EED #EDA266 #B2ED66
monochromatic
#1721C2 #2F3AE7 #666EED #9DA2F3 #D4D6FA

Accessibility & contrast

On white

4.18
#666EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#666EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666EED
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666EED#FFFFFF#000000##000000
##666EED1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B82F1
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#0B8BA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #666eed;
/* rgb */ color: rgb(102, 110, 237);
/* oklch */ color: oklch(59.9% 0.188 276.4);
Tailwind
colors: {
  custom: {
    50: '#9c97f4',
    500: '#666eed',
    950: '#000000',
  },
}
SCSS
$custom: #666eed;
$custom-light: #9c97f4;
$custom-dark: #000000;
JSON
{
  "hex": "#666eed",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 237
  },
  "hsl": {
    "h": 236.444,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59871,
    "c": 0.18816,
    "h": 276.4
  },
  "luminance": 0.20091
}

Semantic roles & 50–950 ramp

primary
#666EED
secondary
#EDEBC2
accent
#CF0ADB
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666EED

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

Preview Lab → · Contrast checker → · Palette generator →

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