#664DE9#664DE9

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

Color values

HEX#664DE9
RGBrgb(102, 77, 233)
HSLhsl(250, 78%, 61%)
HSVhsv(250, 67%, 91%)
CMYKcmyk(56.2%, 67%, 0%, 8.6%)
CIE-LABlab(44.25, 51.13, -75.51)
CIE-LCHlch(44.25, 91.19, 304.10°)
OKLaboklab(54.14% 0.0515 -0.2172)
OKLCHoklch(54.14% 0.223 283.3)
XYZxyz(22.8368, 14.0143, 78.5767)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664DE9 #D0E94D
analogous
#4D82E9 #664DE9 #B44DE9
triadic
#664DE9 #E9664D #4DE966
tetradic
#664DE9 #E94D82 #D0E94D #4DE9B4
square
#664DE9 #E94D82 #D0E94D #4DE9B4
split-complementary
#664DE9 #E9B44D #82E94D
monochromatic
#2C15A7 #3A1BDD #664DE9 #9583F0 #C4BAF6

Accessibility & contrast

On white

5.52
#664DE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#664DE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664DE9
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664DE9#FFFFFF#000000##FFFFFF
##664DE91.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #664de9;
/* rgb */ color: rgb(102, 77, 233);
/* oklch */ color: oklch(54.1% 0.223 283.3);
Tailwind
colors: {
  custom: {
    50: '#9e81f1',
    500: '#664de9',
    950: '#000000',
  },
}
SCSS
$custom: #664de9;
$custom-light: #9e81f1;
$custom-dark: #000000;
JSON
{
  "hex": "#664de9",
  "rgb": {
    "r": 102,
    "g": 77,
    "b": 233
  },
  "hsl": {
    "h": 249.615,
    "s": 78,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54135,
    "c": 0.22327,
    "h": 283.3
  },
  "luminance": 0.14016
}

Semantic roles & 50–950 ramp

primary
#664DE9
secondary
#DDE6AB
accent
#DA0BB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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