#666CB1#666CB1

#666CB1 is a mid, moderate blue. Relative luminance 0.167; OKLCH L 55.7% C 0.107 H 278.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#666CB1
RGBrgb(102, 108, 177)
HSLhsl(235, 32%, 55%)
HSVhsv(235, 42%, 69%)
CMYKcmyk(42.4%, 39%, 0%, 30.6%)
CIE-LABlab(47.91, 15.73, -37.48)
CIE-LCHlch(47.91, 40.64, 292.76°)
OKLaboklab(55.69% 0.0159 -0.1055)
OKLCHoklch(55.69% 0.107 278.6)
XYZxyz(18.7755, 16.7234, 43.8251)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CB1 #B1AB66
analogous
#6692B1 #666CB1 #8666B1
triadic
#666CB1 #B1666C #6CB166
tetradic
#666CB1 #B16692 #B1AB66 #66B186
square
#666CB1 #B16692 #B1AB66 #66B186
split-complementary
#666CB1 #B18666 #92B166
monochromatic
#353968 #4A4F90 #666CB1 #8F93C6 #B7BADA

Accessibility & contrast

On white

4.83
#666CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#666CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666CB1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CB1#FFFFFF#000000##FFFFFF
##666CB11.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5475B4
Deuteranopia (green-blind)
#4F6FAF
Tritanopia (blue-blind)
#4E7A86
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #666cb1;
/* rgb */ color: rgb(102, 108, 177);
/* oklch */ color: oklch(55.7% 0.107 278.6);
Tailwind
colors: {
  custom: {
    50: '#9596c8',
    500: '#666cb1',
    950: '#000000',
  },
}
SCSS
$custom: #666cb1;
$custom-light: #9596c8;
$custom-dark: #000000;
JSON
{
  "hex": "#666cb1",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 177
  },
  "hsl": {
    "h": 235.2,
    "s": 32.468,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55688,
    "c": 0.10668,
    "h": 278.6
  },
  "luminance": 0.16724
}

Semantic roles & 50–950 ramp

primary
#666CB1
secondary
#C9C7AA
accent
#C05FC9
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #666CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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