#666CB2#666CB2

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

Color values

HEX#666CB2
RGBrgb(102, 108, 178)
HSLhsl(235, 33%, 55%)
HSVhsv(235, 43%, 70%)
CMYKcmyk(42.7%, 39.3%, 0%, 30.2%)
CIE-LABlab(47.96, 16.02, -37.98)
CIE-LCHlch(47.96, 41.22, 292.87°)
OKLaboklab(55.74% 0.0161 -0.107)
OKLCHoklch(55.74% 0.108 278.5)
XYZxyz(18.8755, 16.7634, 44.3519)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CB2 #B2AC66
analogous
#6692B2 #666CB2 #8666B2
triadic
#666CB2 #B2666C #6CB266
tetradic
#666CB2 #B26692 #B2AC66 #66B286
square
#666CB2 #B26692 #B2AC66 #66B286
split-complementary
#666CB2 #B28666 #92B266
monochromatic
#353969 #494F92 #666CB2 #8F93C6 #B7BADB

Accessibility & contrast

On white

4.82
#666CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#666CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666CB2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CB2#FFFFFF#000000##FFFFFF
##666CB21.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#4E6FB0
Tritanopia (blue-blind)
#4E7A86
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #666cb2;
/* rgb */ color: rgb(102, 108, 178);
/* oklch */ color: oklch(55.7% 0.108 278.5);
Tailwind
colors: {
  custom: {
    50: '#9596c9',
    500: '#666cb2',
    950: '#000000',
  },
}
SCSS
$custom: #666cb2;
$custom-light: #9596c9;
$custom-dark: #000000;
JSON
{
  "hex": "#666cb2",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 178
  },
  "hsl": {
    "h": 235.263,
    "s": 33.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55744,
    "c": 0.10816,
    "h": 278.5
  },
  "luminance": 0.16764
}

Semantic roles & 50–950 ramp

primary
#666CB2
secondary
#CAC7AA
accent
#C15FC9
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #666CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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