#664FEC#664FEC

#664FEC is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.7% C 0.225 H 282.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#664FEC
RGBrgb(102, 79, 236)
HSLhsl(249, 81%, 62%)
HSVhsv(249, 67%, 93%)
CMYKcmyk(56.8%, 66.5%, 0%, 7.5%)
CIE-LABlab(44.90, 50.92, -76.14)
CIE-LCHlch(44.90, 91.60, 303.77°)
OKLaboklab(54.68% 0.0494 -0.2191)
OKLCHoklch(54.68% 0.225 282.7)
XYZxyz(23.4111, 14.4714, 80.9002)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664FEC #D5EC4F
analogous
#4F87EC #664FEC #B54FEC
triadic
#664FEC #EC664F #4FEC66
tetradic
#664FEC #EC4F87 #D5EC4F #4FECB5
square
#664FEC #EC4F87 #D5EC4F #4FECB5
split-complementary
#664FEC #ECB54F #87EC4F
monochromatic
#2913AE #3719E5 #664FEC #9686F2 #C6BDF8

Accessibility & contrast

On white

5.39
#664FEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#664FEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664FEC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664FEC#FFFFFF#000000##FFFFFF
##664FEC1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF1
Deuteranopia (green-blind)
#0065E9
Tritanopia (blue-blind)
#1B7897
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #664fec;
/* rgb */ color: rgb(102, 79, 236);
/* oklch */ color: oklch(54.7% 0.225 282.7);
Tailwind
colors: {
  custom: {
    50: '#9e82f3',
    500: '#664fec',
    950: '#000000',
  },
}
SCSS
$custom: #664fec;
$custom-light: #9e82f3;
$custom-dark: #000000;
JSON
{
  "hex": "#664fec",
  "rgb": {
    "r": 102,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 248.79,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54677,
    "c": 0.22461,
    "h": 282.7
  },
  "luminance": 0.14473
}

Semantic roles & 50–950 ramp

primary
#664FEC
secondary
#E0E8AE
accent
#DD09BE
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #664FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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