#666BB1#666BB1

#666BB1 is a mid, moderate blue. Relative luminance 0.165; OKLCH L 55.5% C 0.108 H 279.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#666BB1
RGBrgb(102, 107, 177)
HSLhsl(236, 32%, 55%)
HSVhsv(236, 42%, 69%)
CMYKcmyk(42.4%, 39.5%, 0%, 30.6%)
CIE-LABlab(47.64, 16.34, -37.90)
CIE-LCHlch(47.64, 41.27, 293.32°)
OKLaboklab(55.48% 0.0172 -0.1067)
OKLCHoklch(55.48% 0.108 279.1)
XYZxyz(18.6706, 16.5137, 43.7901)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BB1 #B1AC66
analogous
#6691B1 #666BB1 #8766B1
triadic
#666BB1 #B1666B #6BB166
tetradic
#666BB1 #B16691 #B1AC66 #66B187
square
#666BB1 #B16691 #B1AC66 #66B187
split-complementary
#666BB1 #B18766 #91B166
monochromatic
#353868 #4A4E90 #666BB1 #8F92C6 #B7B9DA

Accessibility & contrast

On white

4.88
#666BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#666BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666BB1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BB1#FFFFFF#000000##FFFFFF
##666BB11.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5274B4
Deuteranopia (green-blind)
#4D6EAF
Tritanopia (blue-blind)
#4E7985
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #666bb1;
/* rgb */ color: rgb(102, 107, 177);
/* oklch */ color: oklch(55.5% 0.108 279.1);
Tailwind
colors: {
  custom: {
    50: '#9595c8',
    500: '#666bb1',
    950: '#000000',
  },
}
SCSS
$custom: #666bb1;
$custom-light: #9595c8;
$custom-dark: #000000;
JSON
{
  "hex": "#666bb1",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 177
  },
  "hsl": {
    "h": 236,
    "s": 32.468,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55483,
    "c": 0.1081,
    "h": 279.1
  },
  "luminance": 0.16514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #666BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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