#666ED8#666ED8

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

Color values

HEX#666ED8
RGBrgb(102, 110, 216)
HSLhsl(236, 59%, 62%)
HSVhsv(236, 53%, 85%)
CMYKcmyk(52.8%, 49.1%, 0%, 15.3%)
CIE-LABlab(50.61, 26.47, -55.58)
CIE-LCHlch(50.61, 61.57, 295.47°)
OKLaboklab(58.45% 0.0195 -0.1585)
OKLCHoklch(58.45% 0.16 277)
XYZxyz(23.4462, 18.9330, 67.3714)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666ED8 #D8D066
analogous
#66A7D8 #666ED8 #9766D8
triadic
#666ED8 #D8666E #6ED866
tetradic
#666ED8 #D866A7 #D8D066 #66D897
square
#666ED8 #D866A7 #D8D066 #66D897
split-complementary
#666ED8 #D89766 #A7D866
monochromatic
#28309C #3540CC #666ED8 #979CE4 #C8CAF1

Accessibility & contrast

On white

4.39
#666ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##666ED8#FFFFFF#000000##000000
##666ED81.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7DDC
Deuteranopia (green-blind)
#2D74D6
Tritanopia (blue-blind)
#328599
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #666ed8;
/* rgb */ color: rgb(102, 110, 216);
/* oklch */ color: oklch(58.4% 0.160 277.0);
Tailwind
colors: {
  custom: {
    50: '#9997e5',
    500: '#666ed8',
    950: '#000000',
  },
}
SCSS
$custom: #666ed8;
$custom-light: #9997e5;
$custom-dark: #000000;
JSON
{
  "hex": "#666ed8",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 216
  },
  "hsl": {
    "h": 235.789,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58447,
    "c": 0.15969,
    "h": 277
  },
  "luminance": 0.18935
}

Semantic roles & 50–950 ramp

primary
#666ED8
secondary
#E2DFB8
accent
#BB1EC7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #666ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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