#666AE4#666AE4

#666AE4 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.5% C 0.181 H 277.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#666AE4
RGBrgb(102, 106, 228)
HSLhsl(238, 70%, 65%)
HSVhsv(238, 55%, 89%)
CMYKcmyk(55.3%, 53.5%, 0%, 10.6%)
CIE-LABlab(50.37, 32.69, -62.74)
CIE-LCHlch(50.37, 70.75, 297.52°)
OKLaboklab(58.51% 0.0246 -0.1796)
OKLCHoklch(58.51% 0.181 277.8)
XYZxyz(24.6327, 18.7326, 75.7015)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AE4 #E4E066
analogous
#66A9E4 #666AE4 #A166E4
triadic
#666AE4 #E4666A #6AE466
tetradic
#666AE4 #E466A9 #E4E066 #66E4A1
square
#666AE4 #E466A9 #E4E066 #66E4A1
split-complementary
#666AE4 #E4A166 #A9E466
monochromatic
#1F24B0 #3237DB #666AE4 #9A9DED #CECFF6

Accessibility & contrast

On white

4.42
#666AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#666AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AE4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AE4#FFFFFF#000000##000000
##666AE41.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7DE8
Deuteranopia (green-blind)
#0073E1
Tritanopia (blue-blind)
#23869D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #666ae4;
/* rgb */ color: rgb(102, 106, 228);
/* oklch */ color: oklch(58.5% 0.181 277.8);
Tailwind
colors: {
  custom: {
    50: '#9b94ed',
    500: '#666ae4',
    950: '#000000',
  },
}
SCSS
$custom: #666ae4;
$custom-light: #9b94ed;
$custom-dark: #000000;
JSON
{
  "hex": "#666ae4",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 228
  },
  "hsl": {
    "h": 238.095,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58513,
    "c": 0.18127,
    "h": 277.8
  },
  "luminance": 0.18734
}

Semantic roles & 50–950 ramp

primary
#666AE4
secondary
#E9E7BD
accent
#CC14D2
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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