#666CD4#666CD4

#666CD4 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.8% C 0.157 H 277.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#666CD4
RGBrgb(102, 108, 212)
HSLhsl(237, 56%, 62%)
HSVhsv(237, 52%, 83%)
CMYKcmyk(51.9%, 49.1%, 0%, 16.9%)
CIE-LABlab(49.86, 26.44, -54.51)
CIE-LCHlch(49.86, 60.58, 295.87°)
OKLaboklab(57.8% 0.0213 -0.1554)
OKLCHoklch(57.8% 0.157 277.8)
XYZxyz(22.7220, 18.3020, 64.6099)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666CD4 #D4CE66
analogous
#66A3D4 #666CD4 #9766D4
triadic
#666CD4 #D4666C #6CD466
tetradic
#666CD4 #D466A3 #D4CE66 #66D497
square
#666CD4 #D466A3 #D4CE66 #66D497
split-complementary
#666CD4 #D49766 #A3D466
monochromatic
#2A3096 #373FC5 #666CD4 #969AE1 #C6C8EF

Accessibility & contrast

On white

4.51
#666CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#666CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666CD4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666CD4#FFFFFF#000000##000000
##666CD41.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7BD8
Deuteranopia (green-blind)
#2E72D2
Tritanopia (blue-blind)
#378396
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #666cd4;
/* rgb */ color: rgb(102, 108, 212);
/* oklch */ color: oklch(57.8% 0.157 277.8);
Tailwind
colors: {
  custom: {
    50: '#9996e2',
    500: '#666cd4',
    950: '#000000',
  },
}
SCSS
$custom: #666cd4;
$custom-light: #9996e2;
$custom-dark: #000000;
JSON
{
  "hex": "#666cd4",
  "rgb": {
    "r": 102,
    "g": 108,
    "b": 212
  },
  "hsl": {
    "h": 236.727,
    "s": 56.122,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57805,
    "c": 0.15682,
    "h": 277.8
  },
  "luminance": 0.18303
}

Semantic roles & 50–950 ramp

primary
#666CD4
secondary
#DFDDB6
accent
#BB22C4
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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