#664FEF#664FEF

#664FEF is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.9% C 0.228 H 282.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#664FEF
RGBrgb(102, 79, 239)
HSLhsl(249, 83%, 62%)
HSVhsv(249, 67%, 94%)
CMYKcmyk(57.3%, 66.9%, 0%, 6.3%)
CIE-LABlab(45.15, 51.81, -77.43)
CIE-LCHlch(45.15, 93.16, 303.79°)
OKLaboklab(54.93% 0.049 -0.2229)
OKLCHoklch(54.93% 0.228 282.4)
XYZxyz(23.8506, 14.6472, 83.2150)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664FEF #D8EF4F
analogous
#4F88EF #664FEF #B64FEF
triadic
#664FEF #EF664F #4FEF66
tetradic
#664FEF #EF4F88 #D8EF4F #4FEFB6
square
#664FEF #EF4F88 #D8EF4F #4FEFB6
split-complementary
#664FEF #EFB64F #88EF4F
monochromatic
#2810B3 #3517EA #664FEF #9787F4 #C8BFF9

Accessibility & contrast

On white

5.34
#664FEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#664FEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664FEF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664FEF#FFFFFF#000000##FFFFFF
##664FEF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F4
Deuteranopia (green-blind)
#0065EC
Tritanopia (blue-blind)
#137999
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #664fef;
/* rgb */ color: rgb(102, 79, 239);
/* oklch */ color: oklch(54.9% 0.228 282.4);
Tailwind
colors: {
  custom: {
    50: '#9f82f5',
    500: '#664fef',
    950: '#000000',
  },
}
SCSS
$custom: #664fef;
$custom-light: #9f82f5;
$custom-dark: #000000;
JSON
{
  "hex": "#664fef",
  "rgb": {
    "r": 102,
    "g": 79,
    "b": 239
  },
  "hsl": {
    "h": 248.625,
    "s": 83.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5493,
    "c": 0.22821,
    "h": 282.4
  },
  "luminance": 0.14649
}

Semantic roles & 50–950 ramp

primary
#664FEF
secondary
#E2EAB0
accent
#E006C0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #664FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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