#664FEA#664FEA

#664FEA is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.5% C 0.222 H 282.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#664FEA
RGBrgb(102, 79, 234)
HSLhsl(249, 79%, 61%)
HSVhsv(249, 66%, 92%)
CMYKcmyk(56.4%, 66.2%, 0%, 8.2%)
CIE-LABlab(44.74, 50.32, -75.28)
CIE-LCHlch(44.74, 90.55, 303.76°)
OKLaboklab(54.51% 0.0497 -0.2166)
OKLCHoklch(54.51% 0.222 282.9)
XYZxyz(23.1222, 14.3558, 79.3785)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664FEA #D3EA4F
analogous
#4F86EA #664FEA #B44FEA
triadic
#664FEA #EA664F #4FEA66
tetradic
#664FEA #EA4F86 #D3EA4F #4FEAB4
square
#664FEA #EA4F86 #D3EA4F #4FEAB4
split-complementary
#664FEA #EAB44F #86EA4F
monochromatic
#2B14AA #381BE1 #664FEA #9686F1 #C5BCF7

Accessibility & contrast

On white

5.42
#664FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#664FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664FEA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664FEA#FFFFFF#000000##FFFFFF
##664FEA1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#0065E7
Tritanopia (blue-blind)
#1F7796
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #664fea;
/* rgb */ color: rgb(102, 79, 234);
/* oklch */ color: oklch(54.5% 0.222 282.9);
Tailwind
colors: {
  custom: {
    50: '#9e82f2',
    500: '#664fea',
    950: '#000000',
  },
}
SCSS
$custom: #664fea;
$custom-light: #9e82f2;
$custom-dark: #000000;
JSON
{
  "hex": "#664fea",
  "rgb": {
    "r": 102,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 248.903,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5451,
    "c": 0.2222,
    "h": 282.9
  },
  "luminance": 0.14357
}

Semantic roles & 50–950 ramp

primary
#664FEA
secondary
#DFE7AD
accent
#DB0BBC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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