#666AE0#666AE0

#666AE0 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.2% C 0.176 H 278.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#666AE0
RGBrgb(102, 106, 224)
HSLhsl(238, 66%, 64%)
HSVhsv(238, 54%, 88%)
CMYKcmyk(54.5%, 52.7%, 0%, 12.2%)
CIE-LABlab(50.11, 31.43, -60.91)
CIE-LCHlch(50.11, 68.54, 297.29°)
OKLaboklab(58.24% 0.0244 -0.1742)
OKLCHoklch(58.24% 0.176 278)
XYZxyz(24.0838, 18.5131, 72.8109)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AE0 #E0DC66
analogous
#66A7E0 #666AE0 #9F66E0
triadic
#666AE0 #E0666A #6AE066
tetradic
#666AE0 #E066A7 #E0DC66 #66E09F
square
#666AE0 #E066A7 #E0DC66 #66E09F
split-complementary
#666AE0 #E09F66 #A7E066
monochromatic
#2227A9 #3338D6 #666AE0 #999CEA #CCCDF5

Accessibility & contrast

On white

4.47
#666AE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#666AE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AE0
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AE0#FFFFFF#000000##000000
##666AE01.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#267CE4
Deuteranopia (green-blind)
#0A72DE
Tritanopia (blue-blind)
#29859B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #666ae0;
/* rgb */ color: rgb(102, 106, 224);
/* oklch */ color: oklch(58.2% 0.176 278.0);
Tailwind
colors: {
  custom: {
    50: '#9b94ea',
    500: '#666ae0',
    950: '#000000',
  },
}
SCSS
$custom: #666ae0;
$custom-light: #9b94ea;
$custom-dark: #000000;
JSON
{
  "hex": "#666ae0",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 224
  },
  "hsl": {
    "h": 238.033,
    "s": 66.304,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58235,
    "c": 0.17589,
    "h": 278
  },
  "luminance": 0.18515
}

Semantic roles & 50–950 ramp

primary
#666AE0
secondary
#E6E5BC
accent
#C817CE
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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