#5B4AE4#5B4AE4

#5B4AE4 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.4% C 0.222 H 280.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5B4AE4
RGBrgb(91, 74, 228)
HSLhsl(247, 74%, 59%)
HSVhsv(247, 68%, 89%)
CMYKcmyk(60.1%, 67.5%, 0%, 10.6%)
CIE-LABlab(42.34, 49.66, -75.84)
CIE-LCHlch(42.34, 90.65, 303.21°)
OKLaboklab(52.41% 0.0403 -0.2185)
OKLCHoklch(52.41% 0.222 280.5)
XYZxyz(20.7623, 12.7216, 74.7452)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4AE4 #D3E44A
analogous
#4A86E4 #5B4AE4 #A84AE4
triadic
#5B4AE4 #E45B4A #4AE45B
tetradic
#5B4AE4 #E44A86 #D3E44A #4AE4A8
square
#5B4AE4 #E44A86 #D3E44A #4AE4A8
split-complementary
#5B4AE4 #E4A84A #86E44A
monochromatic
#26179C #331FD2 #5B4AE4 #8B7FEC #BCB5F4

Accessibility & contrast

On white

5.92
#5B4AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5B4AE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4AE4
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4AE4#FFFFFF#000000##FFFFFF
##5B4AE41.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE9
Deuteranopia (green-blind)
#005EE1
Tritanopia (blue-blind)
#007391
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b4ae4;
/* rgb */ color: rgb(91, 74, 228);
/* oklch */ color: oklch(52.4% 0.222 280.5);
Tailwind
colors: {
  custom: {
    50: '#987eee',
    500: '#5b4ae4',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ae4;
$custom-light: #987eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ae4",
  "rgb": {
    "r": 91,
    "g": 74,
    "b": 228
  },
  "hsl": {
    "h": 246.623,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5241,
    "c": 0.22223,
    "h": 280.5
  },
  "luminance": 0.12723
}

Semantic roles & 50–950 ramp

primary
#5B4AE4
secondary
#DCE3A7
accent
#F137DC
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B4AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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