#666EE8#666EE8

#666EE8 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.5% C 0.181 H 276.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#666EE8
RGBrgb(102, 110, 232)
HSLhsl(236, 74%, 65%)
HSVhsv(236, 56%, 91%)
CMYKcmyk(56%, 52.6%, 0%, 9%)
CIE-LABlab(51.61, 31.54, -62.99)
CIE-LCHlch(51.61, 70.45, 296.60°)
OKLaboklab(59.52% 0.0207 -0.1803)
OKLCHoklch(59.52% 0.181 276.6)
XYZxyz(25.6162, 19.8010, 78.8004)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666EE8 #E8E066
analogous
#66AFE8 #666EE8 #9F66E8
triadic
#666EE8 #E8666E #6EE866
tetradic
#666EE8 #E866AF #E8E066 #66E89F
square
#666EE8 #E866AF #E8E066 #66E89F
split-complementary
#666EE8 #E89F66 #AFE866
monochromatic
#1C25B8 #313CE0 #666EE8 #9BA0F0 #D0D3F8

Accessibility & contrast

On white

4.23
#666EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#666EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666EE8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666EE8#FFFFFF#000000##000000
##666EE81.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2681EC
Deuteranopia (green-blind)
#0076E5
Tritanopia (blue-blind)
#1A8AA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #666ee8;
/* rgb */ color: rgb(102, 110, 232);
/* oklch */ color: oklch(59.5% 0.181 276.6);
Tailwind
colors: {
  custom: {
    50: '#9c97f0',
    500: '#666ee8',
    950: '#000000',
  },
}
SCSS
$custom: #666ee8;
$custom-light: #9c97f0;
$custom-dark: #000000;
JSON
{
  "hex": "#666ee8",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 232
  },
  "hsl": {
    "h": 236.308,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59523,
    "c": 0.18149,
    "h": 276.6
  },
  "luminance": 0.19803
}

Semantic roles & 50–950 ramp

primary
#666EE8
secondary
#EBE8BF
accent
#CA10D6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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