#664EE8#664EE8

#664EE8 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.2% C 0.221 H 283.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#664EE8
RGBrgb(102, 78, 232)
HSLhsl(249, 77%, 61%)
HSVhsv(249, 66%, 91%)
CMYKcmyk(56%, 66.4%, 0%, 9%)
CIE-LABlab(44.37, 50.28, -74.75)
CIE-LCHlch(44.37, 90.09, 303.93°)
OKLaboklab(54.2% 0.0508 -0.215)
OKLCHoklch(54.2% 0.221 283.3)
XYZxyz(22.7649, 14.0983, 77.8500)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664EE8 #D0E84E
analogous
#4E83E8 #664EE8 #B34EE8
triadic
#664EE8 #E8664E #4EE866
tetradic
#664EE8 #E84E83 #D0E84E #4EE8B3
square
#664EE8 #E84E83 #D0E84E #4EE8B3
split-complementary
#664EE8 #E8B34E #83E84E
monochromatic
#2C16A6 #3A1DDC #664EE8 #9584EF #C4BAF6

Accessibility & contrast

On white

5.50
#664EE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#664EE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664EE8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664EE8#FFFFFF#000000##FFFFFF
##664EE81.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#237695
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #664ee8;
/* rgb */ color: rgb(102, 78, 232);
/* oklch */ color: oklch(54.2% 0.221 283.3);
Tailwind
colors: {
  custom: {
    50: '#9e81f0',
    500: '#664ee8',
    950: '#000000',
  },
}
SCSS
$custom: #664ee8;
$custom-light: #9e81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#664ee8",
  "rgb": {
    "r": 102,
    "g": 78,
    "b": 232
  },
  "hsl": {
    "h": 249.351,
    "s": 77,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54197,
    "c": 0.22093,
    "h": 283.3
  },
  "luminance": 0.141
}

Semantic roles & 50–950 ramp

primary
#664EE8
secondary
#DDE6AC
accent
#D90CB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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