#666ECD#666ECD

#666ECD is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.7% C 0.144 H 277.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#666ECD
RGBrgb(102, 110, 205)
HSLhsl(235, 51%, 60%)
HSVhsv(235, 50%, 80%)
CMYKcmyk(50.2%, 46.3%, 0%, 19.6%)
CIE-LABlab(49.96, 23.03, -50.37)
CIE-LCHlch(49.96, 55.38, 294.57°)
OKLaboklab(57.74% 0.0182 -0.1432)
OKLCHoklch(57.74% 0.144 277.2)
XYZxyz(22.0714, 18.3831, 60.1310)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666ECD #CDC566
analogous
#66A1CD #666ECD #9266CD
triadic
#666ECD #CD666E #6ECD66
tetradic
#666ECD #CD66A1 #CDC566 #66CD92
square
#666ECD #CD66A1 #CDC566 #66CD92
split-complementary
#666ECD #CD9266 #A1CD66
monochromatic
#2D358B #3D46B9 #666ECD #949ADC #C2C5EB

Accessibility & contrast

On white

4.49
#666ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#666ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666ECD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666ECD#FFFFFF#000000##000000
##666ECD1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#457BD1
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#3C8294
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #666ecd;
/* rgb */ color: rgb(102, 110, 205);
/* oklch */ color: oklch(57.7% 0.144 277.2);
Tailwind
colors: {
  custom: {
    50: '#9897dd',
    500: '#666ecd',
    950: '#000000',
  },
}
SCSS
$custom: #666ecd;
$custom-light: #9897dd;
$custom-dark: #000000;
JSON
{
  "hex": "#666ecd",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 205
  },
  "hsl": {
    "h": 235.34,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57744,
    "c": 0.14434,
    "h": 277.2
  },
  "luminance": 0.18384
}

Semantic roles & 50–950 ramp

primary
#666ECD
secondary
#DBD8B4
accent
#B227BE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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