#666CD6#666CD6

#666CD6 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.9% C 0.160 H 277.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#666CD6
RGBrgb(102, 108, 214)
HSLhsl(237, 58%, 62%)
HSVhsv(237, 52%, 84%)
CMYKcmyk(52.3%, 49.5%, 0%, 16.1%)
CIE-LABlab(49.98, 27.06, -55.45)
CIE-LCHlch(49.98, 61.71, 296.01°)
OKLaboklab(57.94% 0.0215 -0.1581)
OKLCHoklch(57.94% 0.16 277.7)
XYZxyz(22.9758, 18.4035, 65.9468)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CD6 #D6D066
analogous
#66A4D6 #666CD6 #9866D6
triadic
#666CD6 #D6666C #6CD666
tetradic
#666CD6 #D666A4 #D6D066 #66D698
square
#666CD6 #D666A4 #D6D066 #66D698
split-complementary
#666CD6 #D69866 #A4D666
monochromatic
#292F99 #363EC9 #666CD6 #969AE3 #C7C9F0

Accessibility & contrast

On white

4.49
#666CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#666CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666CD6
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CD6#FFFFFF#000000##000000
##666CD61.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#397CDA
Deuteranopia (green-blind)
#2B73D4
Tritanopia (blue-blind)
#358397
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #666cd6;
/* rgb */ color: rgb(102, 108, 214);
/* oklch */ color: oklch(57.9% 0.160 277.7);
Tailwind
colors: {
  custom: {
    50: '#9996e3',
    500: '#666cd6',
    950: '#000000',
  },
}
SCSS
$custom: #666cd6;
$custom-light: #9996e3;
$custom-dark: #000000;
JSON
{
  "hex": "#666cd6",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 214
  },
  "hsl": {
    "h": 236.786,
    "s": 57.732,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57935,
    "c": 0.15959,
    "h": 277.7
  },
  "luminance": 0.18405
}

Semantic roles & 50–950 ramp

primary
#666CD6
secondary
#E1DEB7
accent
#BC20C5
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0F0D15
muted
#7E7E84

Preview Lab

Preview with #666CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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