#664DE8#664DE8

#664DE8 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 54.1% C 0.222 H 283.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#664DE8
RGBrgb(102, 77, 232)
HSLhsl(250, 77%, 61%)
HSVhsv(250, 67%, 91%)
CMYKcmyk(56%, 66.8%, 0%, 9%)
CIE-LABlab(44.17, 50.83, -75.08)
CIE-LCHlch(44.17, 90.67, 304.10°)
OKLaboklab(54.05% 0.0516 -0.216)
OKLCHoklch(54.05% 0.222 283.4)
XYZxyz(22.6944, 13.9573, 77.8265)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664DE8 #CFE84D
analogous
#4D82E8 #664DE8 #B34DE8
triadic
#664DE8 #E8664D #4DE866
tetradic
#664DE8 #E84D82 #CFE84D #4DE8B3
square
#664DE8 #E84D82 #CFE84D #4DE8B3
split-complementary
#664DE8 #E8B34D #82E84D
monochromatic
#2D15A5 #3B1CDB #664DE8 #9583EF #C3B9F6

Accessibility & contrast

On white

5.54
#664DE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#664DE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664DE8
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664DE8#FFFFFF#000000##FFFFFF
##664DE81.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DED
Deuteranopia (green-blind)
#0063E5
Tritanopia (blue-blind)
#237594
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #664de8;
/* rgb */ color: rgb(102, 77, 232);
/* oklch */ color: oklch(54.1% 0.222 283.4);
Tailwind
colors: {
  custom: {
    50: '#9e81f0',
    500: '#664de8',
    950: '#000000',
  },
}
SCSS
$custom: #664de8;
$custom-light: #9e81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#664de8",
  "rgb": {
    "r": 102,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 249.677,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54051,
    "c": 0.22207,
    "h": 283.4
  },
  "luminance": 0.13959
}

Semantic roles & 50–950 ramp

primary
#664DE8
secondary
#DCE6AB
accent
#D90CB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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