#666AE1#666AE1

#666AE1 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.3% C 0.177 H 277.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#666AE1
RGBrgb(102, 106, 225)
HSLhsl(238, 67%, 64%)
HSVhsv(238, 55%, 88%)
CMYKcmyk(54.7%, 52.9%, 0%, 11.8%)
CIE-LABlab(50.18, 31.74, -61.37)
CIE-LCHlch(50.18, 69.09, 297.35°)
OKLaboklab(58.3% 0.0244 -0.1756)
OKLCHoklch(58.3% 0.177 277.9)
XYZxyz(24.2198, 18.5675, 73.5272)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AE1 #E1DD66
analogous
#66A8E1 #666AE1 #A066E1
triadic
#666AE1 #E1666A #6AE166
tetradic
#666AE1 #E166A8 #E1DD66 #66E1A0
square
#666AE1 #E166A8 #E1DD66 #66E1A0
split-complementary
#666AE1 #E1A066 #A8E166
monochromatic
#2226AB #3338D7 #666AE1 #999CEB #CCCEF5

Accessibility & contrast

On white

4.46
#666AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#666AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AE1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AE1#FFFFFF#000000##000000
##666AE11.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#247CE5
Deuteranopia (green-blind)
#0472DE
Tritanopia (blue-blind)
#28859B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #666ae1;
/* rgb */ color: rgb(102, 106, 225);
/* oklch */ color: oklch(58.3% 0.177 277.9);
Tailwind
colors: {
  custom: {
    50: '#9b94eb',
    500: '#666ae1',
    950: '#000000',
  },
}
SCSS
$custom: #666ae1;
$custom-light: #9b94eb;
$custom-dark: #000000;
JSON
{
  "hex": "#666ae1",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 225
  },
  "hsl": {
    "h": 238.049,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58304,
    "c": 0.17724,
    "h": 277.9
  },
  "luminance": 0.18569
}

Semantic roles & 50–950 ramp

primary
#666AE1
secondary
#E7E5BC
accent
#C916CF
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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