#666FD6#666FD6

#666FD6 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.5% C 0.156 H 276.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#666FD6
RGBrgb(102, 111, 214)
HSLhsl(235, 58%, 62%)
HSVhsv(235, 52%, 84%)
CMYKcmyk(52.3%, 48.1%, 0%, 16.1%)
CIE-LABlab(50.74, 25.23, -54.23)
CIE-LCHlch(50.74, 59.82, 294.95°)
OKLaboklab(58.51% 0.0182 -0.1545)
OKLCHoklch(58.51% 0.156 276.7)
XYZxyz(23.2977, 19.0472, 66.0541)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FD6 #D6CD66
analogous
#66A7D6 #666FD6 #9566D6
triadic
#666FD6 #D6666F #6FD666
tetradic
#666FD6 #D666A7 #D6CD66 #66D695
square
#666FD6 #D666A7 #D6CD66 #66D695
split-complementary
#666FD6 #D69566 #A7D666
monochromatic
#293299 #3642C9 #666FD6 #969CE3 #C7CAF0

Accessibility & contrast

On white

4.37
#666FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#666FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FD6
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FD6#FFFFFF#000000##000000
##666FD61.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7EDA
Deuteranopia (green-blind)
#3274D4
Tritanopia (blue-blind)
#348698
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #666fd6;
/* rgb */ color: rgb(102, 111, 214);
/* oklch */ color: oklch(58.5% 0.156 276.7);
Tailwind
colors: {
  custom: {
    50: '#9998e3',
    500: '#666fd6',
    950: '#000000',
  },
}
SCSS
$custom: #666fd6;
$custom-light: #9998e3;
$custom-dark: #000000;
JSON
{
  "hex": "#666fd6",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 214
  },
  "hsl": {
    "h": 235.179,
    "s": 57.732,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5851,
    "c": 0.15559,
    "h": 276.7
  },
  "luminance": 0.19049
}

Semantic roles & 50–950 ramp

primary
#666FD6
secondary
#E1DDB7
accent
#B820C5
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D15
muted
#7E7E84

Preview Lab

Preview with #666FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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