#664EE9#664EE9

#664EE9 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.3% C 0.222 H 283.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#664EE9
RGBrgb(102, 78, 233)
HSLhsl(249, 78%, 61%)
HSVhsv(249, 67%, 91%)
CMYKcmyk(56.2%, 66.5%, 0%, 8.6%)
CIE-LABlab(44.45, 50.58, -75.18)
CIE-LCHlch(44.45, 90.61, 303.93°)
OKLaboklab(54.28% 0.0507 -0.2163)
OKLCHoklch(54.28% 0.222 283.2)
XYZxyz(22.9073, 14.1553, 78.6002)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664EE9 #D1E94E
analogous
#4E83E9 #664EE9 #B34EE9
triadic
#664EE9 #E9664E #4EE966
tetradic
#664EE9 #E94E83 #D1E94E #4EE9B3
square
#664EE9 #E94E83 #D1E94E #4EE9B3
split-complementary
#664EE9 #E9B34E #83E94E
monochromatic
#2C15A8 #3A1CDE #664EE9 #9584F0 #C4BBF7

Accessibility & contrast

On white

5.48
#664EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#664EE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664EE9
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664EE9#FFFFFF#000000##FFFFFF
##664EE91.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEE
Deuteranopia (green-blind)
#0064E6
Tritanopia (blue-blind)
#217695
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #664ee9;
/* rgb */ color: rgb(102, 78, 233);
/* oklch */ color: oklch(54.3% 0.222 283.2);
Tailwind
colors: {
  custom: {
    50: '#9e81f1',
    500: '#664ee9',
    950: '#000000',
  },
}
SCSS
$custom: #664ee9;
$custom-light: #9e81f1;
$custom-dark: #000000;
JSON
{
  "hex": "#664ee9",
  "rgb": {
    "r": 102,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 249.29,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5428,
    "c": 0.22213,
    "h": 283.2
  },
  "luminance": 0.14157
}

Semantic roles & 50–950 ramp

primary
#664EE9
secondary
#DEE7AC
accent
#DA0BBA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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