#666FD4#666FD4

#666FD4 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.4% C 0.153 H 276.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#666FD4
RGBrgb(102, 111, 212)
HSLhsl(235, 56%, 62%)
HSVhsv(235, 52%, 83%)
CMYKcmyk(51.9%, 47.6%, 0%, 16.9%)
CIE-LABlab(50.62, 24.60, -53.29)
CIE-LCHlch(50.62, 58.70, 294.78°)
OKLaboklab(58.38% 0.0179 -0.1518)
OKLCHoklch(58.38% 0.153 276.7)
XYZxyz(23.0438, 18.9457, 64.7172)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FD4 #D4CB66
analogous
#66A6D4 #666FD4 #9466D4
triadic
#666FD4 #D4666F #6FD466
tetradic
#666FD4 #D466A6 #D4CB66 #66D494
square
#666FD4 #D466A6 #D4CB66 #66D494
split-complementary
#666FD4 #D49466 #A6D466
monochromatic
#2A3396 #3743C5 #666FD4 #969CE1 #C6C9EF

Accessibility & contrast

On white

4.38
#666FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#666FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FD4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FD4#FFFFFF#000000##000000
##666FD41.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#417DD8
Deuteranopia (green-blind)
#3574D2
Tritanopia (blue-blind)
#368597
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #666fd4;
/* rgb */ color: rgb(102, 111, 212);
/* oklch */ color: oklch(58.4% 0.153 276.7);
Tailwind
colors: {
  custom: {
    50: '#9998e2',
    500: '#666fd4',
    950: '#000000',
  },
}
SCSS
$custom: #666fd4;
$custom-light: #9998e2;
$custom-dark: #000000;
JSON
{
  "hex": "#666fd4",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 212
  },
  "hsl": {
    "h": 235.091,
    "s": 56.122,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58381,
    "c": 0.15281,
    "h": 276.7
  },
  "luminance": 0.18947
}

Semantic roles & 50–950 ramp

primary
#666FD4
secondary
#DFDCB6
accent
#B622C4
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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