#664EE5#664EE5

#664EE5 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.9% C 0.217 H 283.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#664EE5
RGBrgb(102, 78, 229)
HSLhsl(250, 74%, 60%)
HSVhsv(250, 66%, 90%)
CMYKcmyk(55.5%, 65.9%, 0%, 10.2%)
CIE-LABlab(44.13, 49.39, -73.44)
CIE-LCHlch(44.13, 88.51, 303.92°)
OKLaboklab(53.95% 0.0512 -0.2112)
OKLCHoklch(53.95% 0.217 283.6)
XYZxyz(22.3424, 13.9293, 75.6249)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664EE5 #CDE54E
analogous
#4E82E5 #664EE5 #B14EE5
triadic
#664EE5 #E5664E #4EE566
tetradic
#664EE5 #E54E82 #CDE54E #4EE5B1
square
#664EE5 #E54E82 #CDE54E #4EE5B1
split-complementary
#664EE5 #E5B14E #82E54E
monochromatic
#2D18A1 #3D1FD6 #664EE5 #9483ED #C2B9F5

Accessibility & contrast

On white

5.55
#664EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#664EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664EE5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664EE5#FFFFFF#000000##FFFFFF
##664EE51.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0063E2
Tritanopia (blue-blind)
#287493
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #664ee5;
/* rgb */ color: rgb(102, 78, 229);
/* oklch */ color: oklch(53.9% 0.217 283.6);
Tailwind
colors: {
  custom: {
    50: '#9d81ee',
    500: '#664ee5',
    950: '#000000',
  },
}
SCSS
$custom: #664ee5;
$custom-light: #9d81ee;
$custom-dark: #000000;
JSON
{
  "hex": "#664ee5",
  "rgb": {
    "r": 102,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 249.536,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53947,
    "c": 0.21731,
    "h": 283.6
  },
  "luminance": 0.13931
}

Semantic roles & 50–950 ramp

primary
#664EE5
secondary
#DBE4AA
accent
#D70FB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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