#666BB5#666BB5

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

Color values

HEX#666BB5
RGBrgb(102, 107, 181)
HSLhsl(236, 35%, 55%)
HSVhsv(236, 44%, 71%)
CMYKcmyk(43.6%, 40.9%, 0%, 29%)
CIE-LABlab(47.85, 17.53, -39.90)
CIE-LCHlch(47.85, 43.58, 293.72°)
OKLaboklab(55.71% 0.018 -0.1126)
OKLCHoklch(55.71% 0.114 279.1)
XYZxyz(19.0752, 16.6755, 45.9207)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BB5 #B5B066
analogous
#6692B5 #666BB5 #8966B5
triadic
#666BB5 #B5666B #6BB566
tetradic
#666BB5 #B56692 #B5B066 #66B589
square
#666BB5 #B56692 #B5B066 #66B589
split-complementary
#666BB5 #B58966 #92B566
monochromatic
#34386C #484D95 #666BB5 #8F93C9 #B8BBDD

Accessibility & contrast

On white

4.84
#666BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #666BB5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BB5#FFFFFF#000000##FFFFFF
##666BB51.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5075B8
Deuteranopia (green-blind)
#4B6FB3
Tritanopia (blue-blind)
#4C7A87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #666bb5;
/* rgb */ color: rgb(102, 107, 181);
/* oklch */ color: oklch(55.7% 0.114 279.1);
Tailwind
colors: {
  custom: {
    50: '#9595cb',
    500: '#666bb5',
    950: '#000000',
  },
}
SCSS
$custom: #666bb5;
$custom-light: #9595cb;
$custom-dark: #000000;
JSON
{
  "hex": "#666bb5",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 181
  },
  "hsl": {
    "h": 236.203,
    "s": 34.802,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55709,
    "c": 0.11399,
    "h": 279.1
  },
  "luminance": 0.16676
}

Semantic roles & 50–950 ramp

primary
#666BB5
secondary
#CCCAAB
accent
#C45DCB
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0E0D13
muted
#7E7E82

Preview Lab

Preview with #666BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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