#666CC8#666CC8

#666CC8 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.0% C 0.140 H 278.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#666CC8
RGBrgb(102, 108, 200)
HSLhsl(236, 47%, 59%)
HSVhsv(236, 49%, 78%)
CMYKcmyk(49%, 46%, 0%, 21.6%)
CIE-LABlab(49.15, 22.70, -48.79)
CIE-LCHlch(49.15, 53.81, 294.95°)
OKLaboklab(57.04% 0.0199 -0.1386)
OKLCHoklch(57.04% 0.14 278.2)
XYZxyz(21.2642, 17.7188, 56.9320)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CC8 #C8C266
analogous
#669DC8 #666CC8 #9166C8
triadic
#666CC8 #C8666C #6CC866
tetradic
#666CC8 #C8669D #C8C266 #66C891
square
#666CC8 #C8669D #C8C266 #66C891
split-complementary
#666CC8 #C89166 #9DC866
monochromatic
#2F3584 #4047B1 #666CC8 #9397D8 #C0C3E8

Accessibility & contrast

On white

4.62
#666CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#666CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #666CC8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CC8#FFFFFF#000000##FFFFFF
##666CC81.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4579CB
Deuteranopia (green-blind)
#3D71C6
Tritanopia (blue-blind)
#408090
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #666cc8;
/* rgb */ color: rgb(102, 108, 200);
/* oklch */ color: oklch(57.0% 0.140 278.2);
Tailwind
colors: {
  custom: {
    50: '#9796d9',
    500: '#666cc8',
    950: '#000000',
  },
}
SCSS
$custom: #666cc8;
$custom-light: #9796d9;
$custom-dark: #000000;
JSON
{
  "hex": "#666cc8",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 200
  },
  "hsl": {
    "h": 236.327,
    "s": 47.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57041,
    "c": 0.14,
    "h": 278.2
  },
  "luminance": 0.1772
}

Semantic roles & 50–950 ramp

primary
#666CC8
secondary
#D8D6B2
accent
#CF51D7
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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