#664CE9#664CE9

#664CE9 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 54.0% C 0.224 H 283.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#664CE9
RGBrgb(102, 76, 233)
HSLhsl(250, 78%, 61%)
HSVhsv(250, 67%, 91%)
CMYKcmyk(56.2%, 67.4%, 0%, 8.6%)
CIE-LABlab(44.05, 51.67, -75.84)
CIE-LCHlch(44.05, 91.77, 304.27°)
OKLaboklab(53.99% 0.0523 -0.2182)
OKLCHoklch(53.99% 0.224 283.5)
XYZxyz(22.7674, 13.8754, 78.5535)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664CE9 #CFE94C
analogous
#4C81E9 #664CE9 #B44CE9
triadic
#664CE9 #E9664C #4CE966
tetradic
#664CE9 #E94C81 #CFE94C #4CE9B4
square
#664CE9 #E94C81 #CFE94C #4CE9B4
split-complementary
#664CE9 #E9B44C #81E94C
monochromatic
#2D14A6 #3B1BDD #664CE9 #9583F0 #C3B9F6

Accessibility & contrast

On white

5.56
#664CE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#664CE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664CE9
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664CE9#FFFFFF#000000##FFFFFF
##664CE91.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEE
Deuteranopia (green-blind)
#0063E6
Tritanopia (blue-blind)
#217594
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #664ce9;
/* rgb */ color: rgb(102, 76, 233);
/* oklch */ color: oklch(54.0% 0.224 283.5);
Tailwind
colors: {
  custom: {
    50: '#9e80f1',
    500: '#664ce9',
    950: '#000000',
  },
}
SCSS
$custom: #664ce9;
$custom-light: #9e80f1;
$custom-dark: #000000;
JSON
{
  "hex": "#664ce9",
  "rgb": {
    "r": 102,
    "g": 76,
    "b": 233
  },
  "hsl": {
    "h": 249.936,
    "s": 78.109,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53992,
    "c": 0.22439,
    "h": 283.5
  },
  "luminance": 0.13877
}

Semantic roles & 50–950 ramp

primary
#664CE9
secondary
#DCE6AB
accent
#DA0BB8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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