#666AEC#666AEC

#666AEC is a mid, vivid blue. Relative luminance 0.192; OKLCH L 59.1% C 0.192 H 277.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#666AEC
RGBrgb(102, 106, 236)
HSLhsl(238, 78%, 66%)
HSVhsv(238, 57%, 93%)
CMYKcmyk(56.8%, 55.1%, 0%, 7.5%)
CIE-LABlab(50.91, 35.23, -66.38)
CIE-LCHlch(50.91, 75.14, 297.95°)
OKLaboklab(59.08% 0.0249 -0.1903)
OKLCHoklch(59.08% 0.192 277.4)
XYZxyz(25.7690, 19.1872, 81.6862)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AEC #ECE866
analogous
#66ADEC #666AEC #A566EC
triadic
#666AEC #EC666A #6AEC66
tetradic
#666AEC #EC66AD #ECE866 #66ECA5
square
#666AEC #EC66AD #ECE866 #66ECA5
split-complementary
#666AEC #ECA566 #ADEC66
monochromatic
#181DC0 #3035E5 #666AEC #9C9FF3 #D3D4FA

Accessibility & contrast

On white

4.34
#666AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#666AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AEC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AEC#FFFFFF#000000##000000
##666AEC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF0
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#1188A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #666aec;
/* rgb */ color: rgb(102, 106, 236);
/* oklch */ color: oklch(59.1% 0.192 277.4);
Tailwind
colors: {
  custom: {
    50: '#9c94f3',
    500: '#666aec',
    950: '#000000',
  },
}
SCSS
$custom: #666aec;
$custom-light: #9c94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#666aec",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 238.209,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.5908,
    "c": 0.1919,
    "h": 277.4
  },
  "luminance": 0.19189
}

Semantic roles & 50–950 ramp

primary
#666AEC
secondary
#EDEBC1
accent
#D40BDA
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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