#664FED#664FED

#664FED is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.8% C 0.226 H 282.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#664FED
RGBrgb(102, 79, 237)
HSLhsl(249, 81%, 62%)
HSVhsv(249, 67%, 93%)
CMYKcmyk(57%, 66.7%, 0%, 7.1%)
CIE-LABlab(44.98, 51.21, -76.57)
CIE-LCHlch(44.98, 92.12, 303.78°)
OKLaboklab(54.76% 0.0493 -0.2204)
OKLCHoklch(54.76% 0.226 282.6)
XYZxyz(23.5568, 14.5296, 81.6675)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664FED #D6ED4F
analogous
#4F87ED #664FED #B54FED
triadic
#664FED #ED664F #4FED66
tetradic
#664FED #ED4F87 #D6ED4F #4FEDB5
square
#664FED #ED4F87 #D6ED4F #4FEDB5
split-complementary
#664FED #EDB54F #87ED4F
monochromatic
#2912B0 #3618E7 #664FED #9687F3 #C7BEF8

Accessibility & contrast

On white

5.38
#664FED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#664FED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664FED
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664FED#FFFFFF#000000##FFFFFF
##664FED1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#0065EA
Tritanopia (blue-blind)
#187898
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #664fed;
/* rgb */ color: rgb(102, 79, 237);
/* oklch */ color: oklch(54.8% 0.226 282.6);
Tailwind
colors: {
  custom: {
    50: '#9e82f4',
    500: '#664fed',
    950: '#000000',
  },
}
SCSS
$custom: #664fed;
$custom-light: #9e82f4;
$custom-dark: #000000;
JSON
{
  "hex": "#664fed",
  "rgb": {
    "r": 102,
    "g": 79,
    "b": 237
  },
  "hsl": {
    "h": 248.734,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54761,
    "c": 0.22581,
    "h": 282.6
  },
  "luminance": 0.14531
}

Semantic roles & 50–950 ramp

primary
#664FED
secondary
#E1E9AF
accent
#DE08BF
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #664FED

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

Preview Lab → · Contrast checker → · Palette generator →

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