#666CA4#666CA4

#666CA4 is a mid, moderate blue. Relative luminance 0.162; OKLCH L 55.0% C 0.087 H 278.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#666CA4
RGBrgb(102, 108, 164)
HSLhsl(234, 25%, 52%)
HSVhsv(234, 38%, 64%)
CMYKcmyk(37.8%, 34.1%, 0%, 35.7%)
CIE-LABlab(47.27, 11.94, -30.88)
CIE-LCHlch(47.27, 33.10, 291.14°)
OKLaboklab(54.99% 0.0128 -0.0863)
OKLCHoklch(54.99% 0.087 278.4)
XYZxyz(17.5410, 16.2296, 37.3232)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CA4 #A49E66
analogous
#668BA4 #666CA4 #7F66A4
triadic
#666CA4 #A4666C #6CA466
tetradic
#666CA4 #A4668B #A49E66 #66A47F
square
#666CA4 #A4668B #A49E66 #66A47F
split-complementary
#666CA4 #A47F66 #8BA466
monochromatic
#36395A #4C5180 #666CA4 #8C91BB #B3B6D2

Accessibility & contrast

On white

4.95
#666CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#666CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666CA4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CA4#FFFFFF#000000##FFFFFF
##666CA41.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A73A6
Deuteranopia (green-blind)
#566EA3
Tritanopia (blue-blind)
#547780
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #666ca4;
/* rgb */ color: rgb(102, 108, 164);
/* oklch */ color: oklch(55.0% 0.087 278.4);
Tailwind
colors: {
  custom: {
    50: '#9496bf',
    500: '#666ca4',
    950: '#000000',
  },
}
SCSS
$custom: #666ca4;
$custom-light: #9496bf;
$custom-dark: #000000;
JSON
{
  "hex": "#666ca4",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 164
  },
  "hsl": {
    "h": 234.194,
    "s": 25.41,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54992,
    "c": 0.08728,
    "h": 278.4
  },
  "luminance": 0.1623
}

Semantic roles & 50–950 ramp

primary
#666CA4
secondary
#C0BEA5
accent
#B966C2
background
#F9F9FB
surface
#F2F1F7
border
#CCCBD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #666CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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