#664FE8#664FE8

#664FE8 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.3% C 0.220 H 283.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#664FE8
RGBrgb(102, 79, 232)
HSLhsl(249, 77%, 61%)
HSVhsv(249, 66%, 91%)
CMYKcmyk(56%, 65.9%, 0%, 9%)
CIE-LABlab(44.58, 49.73, -74.41)
CIE-LCHlch(44.58, 89.50, 303.75°)
OKLaboklab(54.34% 0.0499 -0.214)
OKLCHoklch(54.34% 0.22 283.1)
XYZxyz(22.8365, 14.2415, 77.8738)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664FE8 #D1E84F
analogous
#4F84E8 #664FE8 #B34FE8
triadic
#664FE8 #E8664F #4FE866
tetradic
#664FE8 #E84F84 #D1E84F #4FE8B3
square
#664FE8 #E84F84 #D1E84F #4FE8B3
split-complementary
#664FE8 #E8B34F #84E84F
monochromatic
#2C16A7 #3A1DDD #664FE8 #9585EF #C4BBF6

Accessibility & contrast

On white

5.46
#664FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#664FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664FE8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664FE8#FFFFFF#000000##FFFFFF
##664FE81.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#237695
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #664fe8;
/* rgb */ color: rgb(102, 79, 232);
/* oklch */ color: oklch(54.3% 0.220 283.1);
Tailwind
colors: {
  custom: {
    50: '#9e82f0',
    500: '#664fe8',
    950: '#000000',
  },
}
SCSS
$custom: #664fe8;
$custom-light: #9e82f0;
$custom-dark: #000000;
JSON
{
  "hex": "#664fe8",
  "rgb": {
    "r": 102,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 249.02,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54344,
    "c": 0.21979,
    "h": 283.1
  },
  "luminance": 0.14243
}

Semantic roles & 50–950 ramp

primary
#664FE8
secondary
#DEE6AD
accent
#D90CBA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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