#666DE5#666DE5

#666DE5 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.1% C 0.179 H 276.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#666DE5
RGBrgb(102, 109, 229)
HSLhsl(237, 71%, 65%)
HSVhsv(237, 55%, 90%)
CMYKcmyk(55.5%, 52.4%, 0%, 10.2%)
CIE-LABlab(51.17, 31.19, -62.02)
CIE-LCHlch(51.17, 69.42, 296.70°)
OKLaboklab(59.13% 0.0216 -0.1774)
OKLCHoklch(59.13% 0.179 276.9)
XYZxyz(25.0865, 19.4175, 76.5396)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666DE5 #E5DE66
analogous
#66ACE5 #666DE5 #9F66E5
triadic
#666DE5 #E5666D #6DE566
tetradic
#666DE5 #E566AC #E5DE66 #66E59F
square
#666DE5 #E566AC #E5DE66 #66E59F
split-complementary
#666DE5 #E59F66 #ACE566
monochromatic
#1E26B2 #323BDC #666DE5 #9A9FEE #CFD1F7

Accessibility & contrast

On white

4.30
#666DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#666DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666DE5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666DE5#FFFFFF#000000##000000
##666DE51.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#277FE9
Deuteranopia (green-blind)
#0675E2
Tritanopia (blue-blind)
#21889F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #666de5;
/* rgb */ color: rgb(102, 109, 229);
/* oklch */ color: oklch(59.1% 0.179 276.9);
Tailwind
colors: {
  custom: {
    50: '#9b96ee',
    500: '#666de5',
    950: '#000000',
  },
}
SCSS
$custom: #666de5;
$custom-light: #9b96ee;
$custom-dark: #000000;
JSON
{
  "hex": "#666de5",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 229
  },
  "hsl": {
    "h": 236.693,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59132,
    "c": 0.17874,
    "h": 276.9
  },
  "luminance": 0.19419
}

Semantic roles & 50–950 ramp

primary
#666DE5
secondary
#E9E7BE
accent
#C813D3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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