#666BB4#666BB4

#666BB4 is a mid, moderate blue. Relative luminance 0.166; OKLCH L 55.7% C 0.113 H 279.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#666BB4
RGBrgb(102, 107, 180)
HSLhsl(236, 34%, 55%)
HSVhsv(236, 43%, 71%)
CMYKcmyk(43.3%, 40.6%, 0%, 29.4%)
CIE-LABlab(47.80, 17.23, -39.40)
CIE-LCHlch(47.80, 43.01, 293.62°)
OKLaboklab(55.65% 0.0178 -0.1111)
OKLCHoklch(55.65% 0.113 279.1)
XYZxyz(18.9729, 16.6346, 45.3823)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BB4 #B4AF66
analogous
#6692B4 #666BB4 #8866B4
triadic
#666BB4 #B4666B #6BB466
tetradic
#666BB4 #B46692 #B4AF66 #66B488
square
#666BB4 #B46692 #B4AF66 #66B488
split-complementary
#666BB4 #B48866 #92B466
monochromatic
#34386B #494D94 #666BB4 #8F93C8 #B8BADC

Accessibility & contrast

On white

4.85
#666BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#666BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666BB4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BB4#FFFFFF#000000##FFFFFF
##666BB41.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5174B7
Deuteranopia (green-blind)
#4B6FB2
Tritanopia (blue-blind)
#4D7A87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #666bb4;
/* rgb */ color: rgb(102, 107, 180);
/* oklch */ color: oklch(55.7% 0.113 279.1);
Tailwind
colors: {
  custom: {
    50: '#9595cb',
    500: '#666bb4',
    950: '#000000',
  },
}
SCSS
$custom: #666bb4;
$custom-light: #9595cb;
$custom-dark: #000000;
JSON
{
  "hex": "#666bb4",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 180
  },
  "hsl": {
    "h": 236.154,
    "s": 34.211,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55652,
    "c": 0.11253,
    "h": 279.1
  },
  "luminance": 0.16635
}

Semantic roles & 50–950 ramp

primary
#666BB4
secondary
#CBC9AB
accent
#C35ECA
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0E0D13
muted
#7E7E82

Preview Lab

Preview with #666BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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