#664FE5#664FE5

#664FE5 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.1% C 0.216 H 283.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#664FE5
RGBrgb(102, 79, 229)
HSLhsl(249, 74%, 60%)
HSVhsv(249, 66%, 90%)
CMYKcmyk(55.5%, 65.5%, 0%, 10.2%)
CIE-LABlab(44.34, 48.84, -73.11)
CIE-LCHlch(44.34, 87.92, 303.74°)
OKLaboklab(54.1% 0.0503 -0.2102)
OKLCHoklch(54.1% 0.216 283.5)
XYZxyz(22.4140, 14.0725, 75.6487)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664FE5 #CEE54F
analogous
#4F83E5 #664FE5 #B14FE5
triadic
#664FE5 #E5664F #4FE566
tetradic
#664FE5 #E54F83 #CEE54F #4FE5B1
square
#664FE5 #E54F83 #CEE54F #4FE5B1
split-complementary
#664FE5 #E5B14F #83E54F
monochromatic
#2D18A2 #3C20D7 #664FE5 #9484ED #C3BAF5

Accessibility & contrast

On white

5.50
#664FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#664FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664FE5
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664FE5#FFFFFF#000000##FFFFFF
##664FE51.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#277593
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #664fe5;
/* rgb */ color: rgb(102, 79, 229);
/* oklch */ color: oklch(54.1% 0.216 283.5);
Tailwind
colors: {
  custom: {
    50: '#9d82ee',
    500: '#664fe5',
    950: '#000000',
  },
}
SCSS
$custom: #664fe5;
$custom-light: #9d82ee;
$custom-dark: #000000;
JSON
{
  "hex": "#664fe5",
  "rgb": {
    "r": 102,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 249.2,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54095,
    "c": 0.21615,
    "h": 283.5
  },
  "luminance": 0.14074
}

Semantic roles & 50–950 ramp

primary
#664FE5
secondary
#DCE5AB
accent
#D60FB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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