#666CB8#666CB8

#666CB8 is a mid, moderate blue. Relative luminance 0.170; OKLCH L 56.1% C 0.117 H 278.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#666CB8
RGBrgb(102, 108, 184)
HSLhsl(236, 37%, 56%)
HSVhsv(236, 45%, 72%)
CMYKcmyk(44.6%, 41.3%, 0%, 27.8%)
CIE-LABlab(48.27, 17.82, -40.97)
CIE-LCHlch(48.27, 44.68, 293.50°)
OKLaboklab(56.08% 0.0173 -0.1157)
OKLCHoklch(56.08% 0.117 278.5)
XYZxyz(19.4912, 17.0096, 47.5943)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CB8 #B8B266
analogous
#6695B8 #666CB8 #8966B8
triadic
#666CB8 #B8666C #6CB866
tetradic
#666CB8 #B86695 #B8B266 #66B889
square
#666CB8 #B86695 #B8B266 #66B889
split-complementary
#666CB8 #B88966 #95B866
monochromatic
#343870 #474D9A #666CB8 #9094CB #BABCDF

Accessibility & contrast

On white

4.77
#666CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#666CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666CB8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CB8#FFFFFF#000000##FFFFFF
##666CB81.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5076BB
Deuteranopia (green-blind)
#4A70B6
Tritanopia (blue-blind)
#4B7C89
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #666cb8;
/* rgb */ color: rgb(102, 108, 184);
/* oklch */ color: oklch(56.1% 0.117 278.5);
Tailwind
colors: {
  custom: {
    50: '#9696ce',
    500: '#666cb8',
    950: '#000000',
  },
}
SCSS
$custom: #666cb8;
$custom-light: #9696ce;
$custom-dark: #000000;
JSON
{
  "hex": "#666cb8",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 184
  },
  "hsl": {
    "h": 235.61,
    "s": 36.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56084,
    "c": 0.11696,
    "h": 278.5
  },
  "luminance": 0.17011
}

Semantic roles & 50–950 ramp

primary
#666CB8
secondary
#CECBAC
accent
#C45BCD
background
#F9F9FC
surface
#F2F1F9
border
#CCCBD2
text
#0E0D13
muted
#7E7E82

Preview Lab

Preview with #666CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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