#666AE8#666AE8

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

Color values

HEX#666AE8
RGBrgb(102, 106, 232)
HSLhsl(238, 74%, 65%)
HSVhsv(238, 56%, 91%)
CMYKcmyk(56%, 54.3%, 0%, 9%)
CIE-LABlab(50.64, 33.96, -64.57)
CIE-LCHlch(50.64, 72.95, 297.74°)
OKLaboklab(58.79% 0.0247 -0.185)
OKLCHoklch(58.79% 0.187 277.6)
XYZxyz(25.1944, 18.9573, 78.6598)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AE8 #E8E466
analogous
#66ABE8 #666AE8 #A366E8
triadic
#666AE8 #E8666A #6AE866
tetradic
#666AE8 #E866AB #E8E466 #66E8A3
square
#666AE8 #E866AB #E8E466 #66E8A3
split-complementary
#666AE8 #E8A366 #ABE866
monochromatic
#1C20B8 #3136E0 #666AE8 #9B9EF0 #D0D2F8

Accessibility & contrast

On white

4.38
#666AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#666AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AE8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AE8#FFFFFF#000000##000000
##666AE81.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#137EEC
Deuteranopia (green-blind)
#0073E5
Tritanopia (blue-blind)
#1C879F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #666ae8;
/* rgb */ color: rgb(102, 106, 232);
/* oklch */ color: oklch(58.8% 0.187 277.6);
Tailwind
colors: {
  custom: {
    50: '#9c94f0',
    500: '#666ae8',
    950: '#000000',
  },
}
SCSS
$custom: #666ae8;
$custom-light: #9c94f0;
$custom-dark: #000000;
JSON
{
  "hex": "#666ae8",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 232
  },
  "hsl": {
    "h": 238.154,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58794,
    "c": 0.18661,
    "h": 277.6
  },
  "luminance": 0.18959
}

Semantic roles & 50–950 ramp

primary
#666AE8
secondary
#EBE9BF
accent
#D010D6
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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