#5B4CE4#5B4CE4

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

Color values

HEX#5B4CE4
RGBrgb(91, 76, 228)
HSLhsl(246, 74%, 60%)
HSVhsv(246, 67%, 89%)
CMYKcmyk(60.1%, 66.7%, 0%, 10.6%)
CIE-LABlab(42.75, 48.54, -75.17)
CIE-LCHlch(42.75, 89.48, 302.85°)
OKLaboklab(52.71% 0.0388 -0.2166)
OKLCHoklch(52.71% 0.22 280.1)
XYZxyz(20.8980, 12.9929, 74.7904)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4CE4 #D5E44C
analogous
#4C89E4 #5B4CE4 #A74CE4
triadic
#5B4CE4 #E45B4C #4CE45B
tetradic
#5B4CE4 #E44C89 #D5E44C #4CE4A7
square
#5B4CE4 #E44C89 #D5E44C #4CE4A7
split-complementary
#5B4CE4 #E4A74C #89E44C
monochromatic
#25189E #3220D3 #5B4CE4 #8C81EC #BCB6F4

Accessibility & contrast

On white

5.84
#5B4CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5B4CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4CE4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4CE4#FFFFFF#000000##FFFFFF
##5B4CE41.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.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: #5b4ce4;
/* rgb */ color: rgb(91, 76, 228);
/* oklch */ color: oklch(52.7% 0.220 280.1);
Tailwind
colors: {
  custom: {
    50: '#977fee',
    500: '#5b4ce4',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ce4;
$custom-light: #977fee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ce4",
  "rgb": {
    "r": 91,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 245.921,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52707,
    "c": 0.22001,
    "h": 280.1
  },
  "luminance": 0.12994
}

Semantic roles & 50–950 ramp

primary
#5B4CE4
secondary
#DEE3A8
accent
#F037DE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B4CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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