#664EF5#664EF5

#664EF5 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.3% C 0.236 H 281.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#664EF5
RGBrgb(102, 78, 245)
HSLhsl(249, 89%, 63%)
HSVhsv(249, 68%, 96%)
CMYKcmyk(58.4%, 68.2%, 0%, 3.9%)
CIE-LABlab(45.45, 54.13, -80.31)
CIE-LCHlch(45.45, 96.84, 303.98°)
OKLaboklab(55.3% 0.0489 -0.2313)
OKLCHoklch(55.3% 0.236 281.9)
XYZxyz(24.6802, 14.8645, 87.9371)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664EF5 #DDF54E
analogous
#4E89F5 #664EF5 #BA4EF5
triadic
#664EF5 #F5664E #4EF566
tetradic
#664EF5 #F54E89 #DDF54E #4EF5BA
square
#664EF5 #F54E89 #DDF54E #4EF5BA
split-complementary
#664EF5 #F5BA4E #89F54E
monochromatic
#240BBE #3414F2 #664EF5 #9888F8 #CAC2FC

Accessibility & contrast

On white

5.29
#664EF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#664EF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664EF5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664EF5#FFFFFF#000000##FFFFFF
##664EF51.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FA
Deuteranopia (green-blind)
#0066F2
Tritanopia (blue-blind)
#007A9C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #664ef5;
/* rgb */ color: rgb(102, 78, 245);
/* oklch */ color: oklch(55.3% 0.236 281.9);
Tailwind
colors: {
  custom: {
    50: '#a082fa',
    500: '#664ef5',
    950: '#000000',
  },
}
SCSS
$custom: #664ef5;
$custom-light: #a082fa;
$custom-dark: #000000;
JSON
{
  "hex": "#664ef5",
  "rgb": {
    "r": 102,
    "g": 78,
    "b": 245
  },
  "hsl": {
    "h": 248.623,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.553,
    "c": 0.23643,
    "h": 281.9
  },
  "luminance": 0.14866
}

Semantic roles & 50–950 ramp

primary
#664EF5
secondary
#E5EDB2
accent
#E600C5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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