#666AB2#666AB2

#666AB2 is a mid, moderate blue. Relative luminance 0.163; OKLCH L 55.3% C 0.111 H 279.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#666AB2
RGBrgb(102, 106, 178)
HSLhsl(237, 33%, 55%)
HSVhsv(237, 43%, 70%)
CMYKcmyk(42.7%, 40.4%, 0%, 30.2%)
CIE-LABlab(47.43, 17.25, -38.82)
CIE-LCHlch(47.43, 42.48, 293.95°)
OKLaboklab(55.34% 0.0187 -0.1094)
OKLCHoklch(55.34% 0.111 279.7)
XYZxyz(18.6670, 16.3464, 44.2824)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AB2 #B2AE66
analogous
#6690B2 #666AB2 #8866B2
triadic
#666AB2 #B2666A #6AB266
tetradic
#666AB2 #B26690 #B2AE66 #66B288
square
#666AB2 #B26690 #B2AE66 #66B288
split-complementary
#666AB2 #B28866 #90B266
monochromatic
#353869 #494D92 #666AB2 #8F92C6 #B7B9DB

Accessibility & contrast

On white

4.92
#666AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#666AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666AB2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AB2#FFFFFF#000000##FFFFFF
##666AB21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5073B5
Deuteranopia (green-blind)
#4C6EB0
Tritanopia (blue-blind)
#4E7885
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #666ab2;
/* rgb */ color: rgb(102, 106, 178);
/* oklch */ color: oklch(55.3% 0.111 279.7);
Tailwind
colors: {
  custom: {
    50: '#9594c9',
    500: '#666ab2',
    950: '#000000',
  },
}
SCSS
$custom: #666ab2;
$custom-light: #9594c9;
$custom-dark: #000000;
JSON
{
  "hex": "#666ab2",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 178
  },
  "hsl": {
    "h": 236.842,
    "s": 33.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55335,
    "c": 0.11102,
    "h": 279.7
  },
  "luminance": 0.16347
}

Semantic roles & 50–950 ramp

primary
#666AB2
secondary
#CAC8AA
accent
#C45FC9
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0E0D13
muted
#7E7E82

Preview Lab

Preview with #666AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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