#666CC2#666CC2

#666CC2 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.7% C 0.131 H 278.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#666CC2
RGBrgb(102, 108, 194)
HSLhsl(236, 43%, 58%)
HSVhsv(236, 47%, 76%)
CMYKcmyk(47.4%, 44.3%, 0%, 23.9%)
CIE-LABlab(48.81, 20.85, -45.88)
CIE-LCHlch(48.81, 50.40, 294.44°)
OKLaboklab(56.67% 0.019 -0.13)
OKLCHoklch(56.67% 0.131 278.3)
XYZxyz(20.5767, 17.4438, 53.3112)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CC2 #C2BC66
analogous
#669AC2 #666CC2 #8E66C2
triadic
#666CC2 #C2666C #6CC266
tetradic
#666CC2 #C2669A #C2BC66 #66C28E
square
#666CC2 #C2669A #C2BC66 #66C28E
split-complementary
#666CC2 #C28E66 #9AC266
monochromatic
#31367C #434AA8 #666CC2 #9296D3 #BEC0E5

Accessibility & contrast

On white

4.68
#666CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#666CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666CC2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CC2#FFFFFF#000000##FFFFFF
##666CC21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A78C5
Deuteranopia (green-blind)
#4271C0
Tritanopia (blue-blind)
#457E8D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #666cc2;
/* rgb */ color: rgb(102, 108, 194);
/* oklch */ color: oklch(56.7% 0.131 278.3);
Tailwind
colors: {
  custom: {
    50: '#9796d5',
    500: '#666cc2',
    950: '#000000',
  },
}
SCSS
$custom: #666cc2;
$custom-light: #9796d5;
$custom-dark: #000000;
JSON
{
  "hex": "#666cc2",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 194
  },
  "hsl": {
    "h": 236.087,
    "s": 42.991,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56674,
    "c": 0.13143,
    "h": 278.3
  },
  "luminance": 0.17445
}

Semantic roles & 50–950 ramp

primary
#666CC2
secondary
#D4D2B0
accent
#CB55D3
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #666CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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