#664FE4#664FE4

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

Color values

HEX#664FE4
RGBrgb(102, 79, 228)
HSLhsl(249, 73%, 60%)
HSVhsv(249, 65%, 89%)
CMYKcmyk(55.3%, 65.4%, 0%, 10.6%)
CIE-LABlab(44.26, 48.54, -72.67)
CIE-LCHlch(44.26, 87.39, 303.74°)
OKLaboklab(54.01% 0.0504 -0.2089)
OKLCHoklch(54.01% 0.215 283.6)
XYZxyz(22.2748, 14.0168, 74.9155)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664FE4 #CDE44F
analogous
#4F82E4 #664FE4 #B14FE4
triadic
#664FE4 #E4664F #4FE466
tetradic
#664FE4 #E44F82 #CDE44F #4FE4B1
square
#664FE4 #E44F82 #CDE44F #4FE4B1
split-complementary
#664FE4 #E4B14F #82E44F
monochromatic
#2D19A0 #3D21D5 #664FE4 #9484EC #C2B9F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##664FE4#FFFFFF#000000##FFFFFF
##664FE41.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)
#006DE9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#297593
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #664fe4;
/* rgb */ color: rgb(102, 79, 228);
/* oklch */ color: oklch(54.0% 0.215 283.6);
Tailwind
colors: {
  custom: {
    50: '#9d82ee',
    500: '#664fe4',
    950: '#000000',
  },
}
SCSS
$custom: #664fe4;
$custom-light: #9d82ee;
$custom-dark: #000000;
JSON
{
  "hex": "#664fe4",
  "rgb": {
    "r": 102,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 249.262,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54013,
    "c": 0.21492,
    "h": 283.6
  },
  "luminance": 0.14018
}

Semantic roles & 50–950 ramp

primary
#664FE4
secondary
#DBE4AB
accent
#D610B7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #664FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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