#666CB4#666CB4

#666CB4 is a mid, moderate blue. Relative luminance 0.168; OKLCH L 55.9% C 0.111 H 278.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#666CB4
RGBrgb(102, 108, 180)
HSLhsl(235, 34%, 55%)
HSVhsv(235, 43%, 71%)
CMYKcmyk(43.3%, 40%, 0%, 29.4%)
CIE-LABlab(48.06, 16.62, -38.98)
CIE-LCHlch(48.06, 42.37, 293.09°)
OKLaboklab(55.86% 0.0165 -0.1099)
OKLCHoklch(55.86% 0.111 278.5)
XYZxyz(19.0778, 16.8443, 45.4172)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CB4 #B4AE66
analogous
#6693B4 #666CB4 #8766B4
triadic
#666CB4 #B4666C #6CB466
tetradic
#666CB4 #B46693 #B4AE66 #66B487
square
#666CB4 #B46693 #B4AE66 #66B487
split-complementary
#666CB4 #B48766 #93B466
monochromatic
#34396B #494E94 #666CB4 #8F93C8 #B8BBDC

Accessibility & contrast

On white

4.81
#666CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#666CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666CB4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CB4#FFFFFF#000000##FFFFFF
##666CB41.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5275B7
Deuteranopia (green-blind)
#4D6FB2
Tritanopia (blue-blind)
#4D7B87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #666cb4;
/* rgb */ color: rgb(102, 108, 180);
/* oklch */ color: oklch(55.9% 0.111 278.5);
Tailwind
colors: {
  custom: {
    50: '#9596cb',
    500: '#666cb4',
    950: '#000000',
  },
}
SCSS
$custom: #666cb4;
$custom-light: #9596cb;
$custom-dark: #000000;
JSON
{
  "hex": "#666cb4",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 180
  },
  "hsl": {
    "h": 235.385,
    "s": 34.211,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55856,
    "c": 0.1111,
    "h": 278.5
  },
  "luminance": 0.16845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #666CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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