#666CCE#666CCE

#666CCE is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.4% C 0.148 H 278.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#666CCE
RGBrgb(102, 108, 206)
HSLhsl(237, 51%, 60%)
HSVhsv(237, 50%, 81%)
CMYKcmyk(50.5%, 47.6%, 0%, 19.2%)
CIE-LABlab(49.50, 24.56, -51.67)
CIE-LCHlch(49.50, 57.21, 295.43°)
OKLaboklab(57.42% 0.0206 -0.147)
OKLCHoklch(57.42% 0.148 278)
XYZxyz(21.9792, 18.0048, 60.6977)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CCE #CEC866
analogous
#66A0CE #666CCE #9466CE
triadic
#666CCE #CE666C #6CCE66
tetradic
#666CCE #CE66A0 #CEC866 #66CE94
square
#666CCE #CE66A0 #CEC866 #66CE94
split-complementary
#666CCE #CE9466 #A0CE66
monochromatic
#2D338D #3C43BB #666CCE #9499DD #C3C5EC

Accessibility & contrast

On white

4.56
#666CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#666CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666CCE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CCE#FFFFFF#000000##000000
##666CCE1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#407AD2
Deuteranopia (green-blind)
#3672CC
Tritanopia (blue-blind)
#3C8193
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #666cce;
/* rgb */ color: rgb(102, 108, 206);
/* oklch */ color: oklch(57.4% 0.148 278.0);
Tailwind
colors: {
  custom: {
    50: '#9896dd',
    500: '#666cce',
    950: '#000000',
  },
}
SCSS
$custom: #666cce;
$custom-light: #9896dd;
$custom-dark: #000000;
JSON
{
  "hex": "#666cce",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 206
  },
  "hsl": {
    "h": 236.538,
    "s": 51.485,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57418,
    "c": 0.14846,
    "h": 278
  },
  "luminance": 0.18006
}

Semantic roles & 50–950 ramp

primary
#666CCE
secondary
#DCD9B4
accent
#B627BF
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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