#666CA2#666CA2

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

Color values

HEX#666CA2
RGBrgb(102, 108, 162)
HSLhsl(234, 24%, 52%)
HSVhsv(234, 37%, 64%)
CMYKcmyk(37%, 33.3%, 0%, 36.5%)
CIE-LABlab(47.18, 11.37, -29.85)
CIE-LCHlch(47.18, 31.94, 290.85°)
OKLaboklab(54.89% 0.0123 -0.0834)
OKLCHoklch(54.89% 0.084 278.4)
XYZxyz(17.3618, 16.1579, 36.3794)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CA2 #A29C66
analogous
#668AA2 #666CA2 #7E66A2
triadic
#666CA2 #A2666C #6CA266
tetradic
#666CA2 #A2668A #A29C66 #66A27E
square
#666CA2 #A2668A #A29C66 #66A27E
split-complementary
#666CA2 #A27E66 #8AA266
monochromatic
#363958 #4D527E #666CA2 #8C91B9 #B2B5D0

Accessibility & contrast

On white

4.96
#666CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#666CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666CA2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CA2#FFFFFF#000000##FFFFFF
##666CA21.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B72A4
Deuteranopia (green-blind)
#576EA1
Tritanopia (blue-blind)
#557680
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #666ca2;
/* rgb */ color: rgb(102, 108, 162);
/* oklch */ color: oklch(54.9% 0.084 278.4);
Tailwind
colors: {
  custom: {
    50: '#9496bd',
    500: '#666ca2',
    950: '#000000',
  },
}
SCSS
$custom: #666ca2;
$custom-light: #9496bd;
$custom-dark: #000000;
JSON
{
  "hex": "#666ca2",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 162
  },
  "hsl": {
    "h": 234,
    "s": 24.39,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54889,
    "c": 0.08426,
    "h": 278.4
  },
  "luminance": 0.16159
}

Semantic roles & 50–950 ramp

primary
#666CA2
secondary
#BFBCA5
accent
#B867C1
background
#F9F9FB
surface
#F1F1F6
border
#CBCBD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #666CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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