#666AE9#666AE9

#666AE9 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.9% C 0.188 H 277.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#666AE9
RGBrgb(102, 106, 233)
HSLhsl(238, 75%, 66%)
HSVhsv(238, 56%, 91%)
CMYKcmyk(56.2%, 54.5%, 0%, 8.6%)
CIE-LABlab(50.70, 34.27, -65.02)
CIE-LCHlch(50.70, 73.50, 297.80°)
OKLaboklab(58.87% 0.0248 -0.1863)
OKLCHoklch(58.87% 0.188 277.6)
XYZxyz(25.3368, 19.0143, 79.4100)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AE9 #E9E566
analogous
#66ABE9 #666AE9 #A366E9
triadic
#666AE9 #E9666A #6AE966
tetradic
#666AE9 #E966AB #E9E566 #66E9A3
square
#666AE9 #E966AB #E9E566 #66E9A3
split-complementary
#666AE9 #E9A366 #ABE966
monochromatic
#1B20BA #3036E1 #666AE9 #9C9EF1 #D1D2F8

Accessibility & contrast

On white

4.37
#666AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#666AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AE9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AE9#FFFFFF#000000##000000
##666AE91.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#107EED
Deuteranopia (green-blind)
#0073E6
Tritanopia (blue-blind)
#1A879F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #666ae9;
/* rgb */ color: rgb(102, 106, 233);
/* oklch */ color: oklch(58.9% 0.188 277.6);
Tailwind
colors: {
  custom: {
    50: '#9c94f1',
    500: '#666ae9',
    950: '#000000',
  },
}
SCSS
$custom: #666ae9;
$custom-light: #9c94f1;
$custom-dark: #000000;
JSON
{
  "hex": "#666ae9",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 233
  },
  "hsl": {
    "h": 238.168,
    "s": 74.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58865,
    "c": 0.18793,
    "h": 277.6
  },
  "luminance": 0.19016
}

Semantic roles & 50–950 ramp

primary
#666AE9
secondary
#EBEAC0
accent
#D10ED7
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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