#666AAA#666AAA

#666AAA is a mid, moderate blue. Relative luminance 0.160; OKLCH L 54.9% C 0.099 H 279.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#666AAA
RGBrgb(102, 106, 170)
HSLhsl(236, 29%, 53%)
HSVhsv(236, 40%, 67%)
CMYKcmyk(40%, 37.6%, 0%, 33.3%)
CIE-LABlab(47.02, 14.89, -34.79)
CIE-LCHlch(47.02, 37.85, 293.17°)
OKLaboklab(54.89% 0.017 -0.0977)
OKLCHoklch(54.89% 0.099 279.9)
XYZxyz(17.8871, 16.0344, 40.1749)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AAA #AAA666
analogous
#668CAA #666AAA #8466AA
triadic
#666AAA #AA666A #6AAA66
tetradic
#666AAA #AA668C #AAA666 #66AA84
square
#666AAA #AA668C #AAA666 #66AA84
split-complementary
#666AAA #AA8466 #8CAA66
monochromatic
#353860 #4B4F88 #666AAA #8D90C0 #B5B7D6

Accessibility & contrast

On white

4.99
#666AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#666AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666AAA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AAA#FFFFFF#000000##FFFFFF
##666AAA1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5472AD
Deuteranopia (green-blind)
#506DA8
Tritanopia (blue-blind)
#527782
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #666aaa;
/* rgb */ color: rgb(102, 106, 170);
/* oklch */ color: oklch(54.9% 0.099 279.9);
Tailwind
colors: {
  custom: {
    50: '#9494c3',
    500: '#666aaa',
    950: '#000000',
  },
}
SCSS
$custom: #666aaa;
$custom-light: #9494c3;
$custom-dark: #000000;
JSON
{
  "hex": "#666aaa",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 236.471,
    "s": 28.571,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54891,
    "c": 0.09916,
    "h": 279.9
  },
  "luminance": 0.16035
}

Semantic roles & 50–950 ramp

primary
#666AAA
secondary
#C5C3A7
accent
#BF63C5
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #666AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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