#666ED5#666ED5

#666ED5 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.3% C 0.156 H 277.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#666ED5
RGBrgb(102, 110, 213)
HSLhsl(236, 57%, 62%)
HSVhsv(236, 52%, 84%)
CMYKcmyk(52.1%, 48.4%, 0%, 16.5%)
CIE-LABlab(50.43, 25.53, -54.17)
CIE-LCHlch(50.43, 59.89, 295.23°)
OKLaboklab(58.25% 0.0192 -0.1543)
OKLCHoklch(58.25% 0.156 277.1)
XYZxyz(23.0619, 18.7793, 65.3474)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666ED5 #D5CD66
analogous
#66A6D5 #666ED5 #9666D5
triadic
#666ED5 #D5666E #6ED566
tetradic
#666ED5 #D566A6 #D5CD66 #66D596
square
#666ED5 #D566A6 #D5CD66 #66D596
split-complementary
#666ED5 #D59666 #A6D566
monochromatic
#293197 #3741C7 #666ED5 #969CE2 #C6C9EF

Accessibility & contrast

On white

4.42
#666ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#666ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666ED5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666ED5#FFFFFF#000000##000000
##666ED51.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7DD9
Deuteranopia (green-blind)
#3274D3
Tritanopia (blue-blind)
#358597
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #666ed5;
/* rgb */ color: rgb(102, 110, 213);
/* oklch */ color: oklch(58.3% 0.156 277.1);
Tailwind
colors: {
  custom: {
    50: '#9997e2',
    500: '#666ed5',
    950: '#000000',
  },
}
SCSS
$custom: #666ed5;
$custom-light: #9997e2;
$custom-dark: #000000;
JSON
{
  "hex": "#666ed5",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 213
  },
  "hsl": {
    "h": 235.676,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58253,
    "c": 0.15553,
    "h": 277.1
  },
  "luminance": 0.18781
}

Semantic roles & 50–950 ramp

primary
#666ED5
secondary
#E0DDB7
accent
#B921C4
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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