#664DE7#664DE7

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

Color values

HEX#664DE7
RGBrgb(102, 77, 231)
HSLhsl(250, 76%, 60%)
HSVhsv(250, 67%, 91%)
CMYKcmyk(55.8%, 66.7%, 0%, 9.4%)
CIE-LABlab(44.09, 50.54, -74.64)
CIE-LCHlch(44.09, 90.14, 304.10°)
OKLaboklab(53.97% 0.0518 -0.2147)
OKLCHoklch(53.97% 0.221 283.6)
XYZxyz(22.5527, 13.9007, 77.0805)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664DE7 #CEE74D
analogous
#4D81E7 #664DE7 #B34DE7
triadic
#664DE7 #E7664D #4DE766
tetradic
#664DE7 #E74D81 #CEE74D #4DE7B3
square
#664DE7 #E74D81 #CEE74D #4DE7B3
split-complementary
#664DE7 #E7B34D #81E74D
monochromatic
#2D16A4 #3C1DD9 #664DE7 #9483EE #C3B9F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##664DE7#FFFFFF#000000##FFFFFF
##664DE71.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0063E4
Tritanopia (blue-blind)
#257594
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #664de7;
/* rgb */ color: rgb(102, 77, 231);
/* oklch */ color: oklch(54.0% 0.221 283.6);
Tailwind
colors: {
  custom: {
    50: '#9e81f0',
    500: '#664de7',
    950: '#000000',
  },
}
SCSS
$custom: #664de7;
$custom-light: #9e81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#664de7",
  "rgb": {
    "r": 102,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 249.74,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53967,
    "c": 0.22087,
    "h": 283.6
  },
  "luminance": 0.13902
}

Semantic roles & 50–950 ramp

primary
#664DE7
secondary
#DCE5AA
accent
#D80DB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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