#664DE5#664DE5

#664DE5 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.8% C 0.218 H 283.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#664DE5
RGBrgb(102, 77, 229)
HSLhsl(250, 75%, 60%)
HSVhsv(250, 66%, 90%)
CMYKcmyk(55.5%, 66.4%, 0%, 10.2%)
CIE-LABlab(43.93, 49.95, -73.78)
CIE-LCHlch(43.93, 89.09, 304.10°)
OKLaboklab(53.8% 0.0521 -0.2122)
OKLCHoklch(53.8% 0.218 283.8)
XYZxyz(22.2719, 13.7883, 75.6014)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664DE5 #CCE54D
analogous
#4D80E5 #664DE5 #B24DE5
triadic
#664DE5 #E5664D #4DE566
tetradic
#664DE5 #E54D80 #CCE54D #4DE5B2
square
#664DE5 #E54D80 #CCE54D #4DE5B2
split-complementary
#664DE5 #E5B24D #80E54D
monochromatic
#2E17A0 #3D1FD6 #664DE5 #9482ED #C2B8F5

Accessibility & contrast

On white

5.59
#664DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#664DE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664DE5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664DE5#FFFFFF#000000##FFFFFF
##664DE51.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #664de5;
/* rgb */ color: rgb(102, 77, 229);
/* oklch */ color: oklch(53.8% 0.218 283.8);
Tailwind
colors: {
  custom: {
    50: '#9d81ee',
    500: '#664de5',
    950: '#000000',
  },
}
SCSS
$custom: #664de5;
$custom-light: #9d81ee;
$custom-dark: #000000;
JSON
{
  "hex": "#664de5",
  "rgb": {
    "r": 102,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 249.868,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.538,
    "c": 0.21846,
    "h": 283.8
  },
  "luminance": 0.1379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #664DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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