#5C4CE4#5C4CE4

#5C4CE4 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.8% C 0.220 H 280.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5C4CE4
RGBrgb(92, 76, 228)
HSLhsl(246, 74%, 60%)
HSVhsv(246, 67%, 89%)
CMYKcmyk(59.6%, 66.7%, 0%, 10.6%)
CIE-LABlab(42.83, 48.68, -75.04)
CIE-LCHlch(42.83, 89.45, 302.97°)
OKLaboklab(52.78% 0.04 -0.2162)
OKLCHoklch(52.78% 0.22 280.5)
XYZxyz(20.9972, 13.0441, 74.7950)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4CE4 #D4E44C
analogous
#4C88E4 #5C4CE4 #A84CE4
triadic
#5C4CE4 #E45C4C #4CE45C
tetradic
#5C4CE4 #E44C88 #D4E44C #4CE4A8
square
#5C4CE4 #E44C88 #D4E44C #4CE4A8
split-complementary
#5C4CE4 #E4A84C #88E44C
monochromatic
#26189E #3320D3 #5C4CE4 #8C81EC #BDB6F4

Accessibility & contrast

On white

5.82
#5C4CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5C4CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4CE4
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4CE4#FFFFFF#000000##FFFFFF
##5C4CE41.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#005FE1
Tritanopia (blue-blind)
#007492
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5c4ce4;
/* rgb */ color: rgb(92, 76, 228);
/* oklch */ color: oklch(52.8% 0.220 280.5);
Tailwind
colors: {
  custom: {
    50: '#987fee',
    500: '#5c4ce4',
    950: '#000000',
  },
}
SCSS
$custom: #5c4ce4;
$custom-light: #987fee;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4ce4",
  "rgb": {
    "r": 92,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 246.316,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52782,
    "c": 0.21984,
    "h": 280.5
  },
  "luminance": 0.13046
}

Semantic roles & 50–950 ramp

primary
#5C4CE4
secondary
#DDE3A8
accent
#F037DD
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5C4CE4

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

Preview Lab → · Contrast checker → · Palette generator →

#5C4CE4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva