#666CCB#666CCB

#666CCB is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.2% C 0.144 H 278.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#666CCB
RGBrgb(102, 108, 203)
HSLhsl(236, 49%, 60%)
HSVhsv(236, 50%, 80%)
CMYKcmyk(49.8%, 46.8%, 0%, 20.4%)
CIE-LABlab(49.33, 23.63, -50.23)
CIE-LCHlch(49.33, 55.51, 295.19°)
OKLaboklab(57.23% 0.0203 -0.1428)
OKLCHoklch(57.23% 0.144 278.1)
XYZxyz(21.6182, 17.8605, 58.7966)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CCB #CBC566
analogous
#669ECB #666CCB #9366CB
triadic
#666CCB #CB666C #6CCB66
tetradic
#666CCB #CB669E #CBC566 #66CB93
square
#666CCB #CB669E #CBC566 #66CB93
split-complementary
#666CCB #CB9366 #9ECB66
monochromatic
#2E3488 #3E45B6 #666CCB #9498DB #C1C4EA

Accessibility & contrast

On white

4.59
#666CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#666CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #666CCB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CCB#FFFFFF#000000##FFFFFF
##666CCB1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4379CE
Deuteranopia (green-blind)
#3A71C9
Tritanopia (blue-blind)
#3E8092
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #666ccb;
/* rgb */ color: rgb(102, 108, 203);
/* oklch */ color: oklch(57.2% 0.144 278.1);
Tailwind
colors: {
  custom: {
    50: '#9896db',
    500: '#666ccb',
    950: '#000000',
  },
}
SCSS
$custom: #666ccb;
$custom-light: #9896db;
$custom-dark: #000000;
JSON
{
  "hex": "#666ccb",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 203
  },
  "hsl": {
    "h": 236.436,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57229,
    "c": 0.14424,
    "h": 278.1
  },
  "luminance": 0.17862
}

Semantic roles & 50–950 ramp

primary
#666CCB
secondary
#DAD8B3
accent
#D14FD9
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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