#666DC6#666DC6

#666DC6 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.1% C 0.136 H 277.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#666DC6
RGBrgb(102, 109, 198)
HSLhsl(236, 46%, 59%)
HSVhsv(236, 48%, 78%)
CMYKcmyk(48.5%, 44.9%, 0%, 22.4%)
CIE-LABlab(49.30, 21.47, -47.41)
CIE-LCHlch(49.30, 52.05, 294.36°)
OKLaboklab(57.12% 0.0184 -0.1345)
OKLCHoklch(57.12% 0.136 277.8)
XYZxyz(21.1380, 17.8381, 55.7444)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666DC6 #C6BF66
analogous
#669DC6 #666DC6 #8F66C6
triadic
#666DC6 #C6666D #6DC666
tetradic
#666DC6 #C6669D #C6BF66 #66C68F
square
#666DC6 #C6669D #C6BF66 #66C68F
split-complementary
#666DC6 #C68F66 #9DC666
monochromatic
#303681 #4149AE #666DC6 #9398D7 #BFC2E7

Accessibility & contrast

On white

4.60
#666DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #666DC6
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666DC6#FFFFFF#000000##FFFFFF
##666DC61.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4879C9
Deuteranopia (green-blind)
#4072C4
Tritanopia (blue-blind)
#428090
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #666dc6;
/* rgb */ color: rgb(102, 109, 198);
/* oklch */ color: oklch(57.1% 0.136 277.8);
Tailwind
colors: {
  custom: {
    50: '#9796d8',
    500: '#666dc6',
    950: '#000000',
  },
}
SCSS
$custom: #666dc6;
$custom-light: #9796d8;
$custom-dark: #000000;
JSON
{
  "hex": "#666dc6",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 198
  },
  "hsl": {
    "h": 235.625,
    "s": 45.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57115,
    "c": 0.13577,
    "h": 277.8
  },
  "luminance": 0.17839
}

Semantic roles & 50–950 ramp

primary
#666DC6
secondary
#D7D4B1
accent
#CC52D5
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #666DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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