#666DE4#666DE4

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

Color values

HEX#666DE4
RGBrgb(102, 109, 228)
HSLhsl(237, 70%, 65%)
HSVhsv(237, 55%, 89%)
CMYKcmyk(55.3%, 52.2%, 0%, 10.6%)
CIE-LABlab(51.11, 30.88, -61.56)
CIE-LCHlch(51.11, 68.87, 296.64°)
OKLaboklab(59.06% 0.0215 -0.1761)
OKLCHoklch(59.06% 0.177 277)
XYZxyz(24.9473, 19.3618, 75.8063)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666DE4 #E4DD66
analogous
#66ACE4 #666DE4 #9E66E4
triadic
#666DE4 #E4666D #6DE466
tetradic
#666DE4 #E466AC #E4DD66 #66E49E
square
#666DE4 #E466AC #E4DD66 #66E49E
split-complementary
#666DE4 #E49E66 #ACE466
monochromatic
#1F27B0 #323BDB #666DE4 #9A9FED #CED0F6

Accessibility & contrast

On white

4.31
#666DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#666DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666DE4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666DE4#FFFFFF#000000##000000
##666DE41.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#297FE8
Deuteranopia (green-blind)
#0C75E1
Tritanopia (blue-blind)
#22889E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #666de4;
/* rgb */ color: rgb(102, 109, 228);
/* oklch */ color: oklch(59.1% 0.177 277.0);
Tailwind
colors: {
  custom: {
    50: '#9b96ed',
    500: '#666de4',
    950: '#000000',
  },
}
SCSS
$custom: #666de4;
$custom-light: #9b96ed;
$custom-dark: #000000;
JSON
{
  "hex": "#666de4",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 228
  },
  "hsl": {
    "h": 236.667,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59063,
    "c": 0.17739,
    "h": 277
  },
  "luminance": 0.19363
}

Semantic roles & 50–950 ramp

primary
#666DE4
secondary
#E9E6BD
accent
#C714D2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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