#666EE5#666EE5

#666EE5 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.3% C 0.177 H 276.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#666EE5
RGBrgb(102, 110, 229)
HSLhsl(236, 71%, 65%)
HSVhsv(236, 55%, 90%)
CMYKcmyk(55.5%, 52%, 0%, 10.2%)
CIE-LABlab(51.42, 30.59, -61.62)
CIE-LCHlch(51.42, 68.79, 296.40°)
OKLaboklab(59.32% 0.0205 -0.1762)
OKLCHoklch(59.32% 0.177 276.6)
XYZxyz(25.1938, 19.6320, 76.5753)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666EE5 #E5DD66
analogous
#66AEE5 #666EE5 #9D66E5
triadic
#666EE5 #E5666E #6EE566
tetradic
#666EE5 #E566AE #E5DD66 #66E59D
square
#666EE5 #E566AE #E5DD66 #66E59D
split-complementary
#666EE5 #E59D66 #AEE566
monochromatic
#1E28B2 #323CDC #666EE5 #9AA0EE #CFD1F7

Accessibility & contrast

On white

4.26
#666EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#666EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666EE5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666EE5#FFFFFF#000000##000000
##666EE51.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B80E9
Deuteranopia (green-blind)
#0E75E2
Tritanopia (blue-blind)
#20899F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #666ee5;
/* rgb */ color: rgb(102, 110, 229);
/* oklch */ color: oklch(59.3% 0.177 276.6);
Tailwind
colors: {
  custom: {
    50: '#9b97ee',
    500: '#666ee5',
    950: '#000000',
  },
}
SCSS
$custom: #666ee5;
$custom-light: #9b97ee;
$custom-dark: #000000;
JSON
{
  "hex": "#666ee5",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 229
  },
  "hsl": {
    "h": 236.22,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59317,
    "c": 0.17744,
    "h": 276.6
  },
  "luminance": 0.19634
}

Semantic roles & 50–950 ramp

primary
#666EE5
secondary
#E9E6BE
accent
#C713D3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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