#664DE6#664DE6

#664DE6 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.9% C 0.220 H 283.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#664DE6
RGBrgb(102, 77, 230)
HSLhsl(250, 75%, 60%)
HSVhsv(250, 67%, 90%)
CMYKcmyk(55.7%, 66.5%, 0%, 9.8%)
CIE-LABlab(44.01, 50.24, -74.21)
CIE-LCHlch(44.01, 89.62, 304.10°)
OKLaboklab(53.88% 0.0519 -0.2134)
OKLCHoklch(53.88% 0.22 283.7)
XYZxyz(22.4119, 13.8443, 76.3388)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664DE6 #CDE64D
analogous
#4D80E6 #664DE6 #B24DE6
triadic
#664DE6 #E6664D #4DE666
tetradic
#664DE6 #E64D80 #CDE64D #4DE6B2
square
#664DE6 #E64D80 #CDE64D #4DE6B2
split-complementary
#664DE6 #E6B24D #80E64D
monochromatic
#2D17A2 #3D1ED8 #664DE6 #9483EE #C2B8F5

Accessibility & contrast

On white

5.57
#664DE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#664DE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664DE6
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664DE6#FFFFFF#000000##FFFFFF
##664DE61.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEB
Deuteranopia (green-blind)
#0063E3
Tritanopia (blue-blind)
#267493
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #664de6;
/* rgb */ color: rgb(102, 77, 230);
/* oklch */ color: oklch(53.9% 0.220 283.7);
Tailwind
colors: {
  custom: {
    50: '#9d81ef',
    500: '#664de6',
    950: '#000000',
  },
}
SCSS
$custom: #664de6;
$custom-light: #9d81ef;
$custom-dark: #000000;
JSON
{
  "hex": "#664de6",
  "rgb": {
    "r": 102,
    "g": 77,
    "b": 230
  },
  "hsl": {
    "h": 249.804,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53884,
    "c": 0.21966,
    "h": 283.7
  },
  "luminance": 0.13846
}

Semantic roles & 50–950 ramp

primary
#664DE6
secondary
#DBE5AA
accent
#D80EB7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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