#5B4AE8#5B4AE8

#5B4AE8 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.8% C 0.227 H 280.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5B4AE8
RGBrgb(91, 74, 232)
HSLhsl(246, 77%, 60%)
HSVhsv(246, 68%, 91%)
CMYKcmyk(60.8%, 68.1%, 0%, 9%)
CIE-LABlab(42.68, 50.88, -77.55)
CIE-LCHlch(42.68, 92.75, 303.27°)
OKLaboklab(52.76% 0.0397 -0.2235)
OKLCHoklch(52.76% 0.227 280.1)
XYZxyz(21.3240, 12.9463, 77.7035)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4AE8 #D7E84A
analogous
#4A88E8 #5B4AE8 #AA4AE8
triadic
#5B4AE8 #E85B4A #4AE85B
tetradic
#5B4AE8 #E84A88 #D7E84A #4AE8AA
square
#5B4AE8 #E84A88 #D7E84A #4AE8AA
split-complementary
#5B4AE8 #E8AA4A #88E84A
monochromatic
#2415A3 #301CD9 #5B4AE8 #8C80EF #BDB7F6

Accessibility & contrast

On white

5.85
#5B4AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5B4AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4AE8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4AE8#FFFFFF#000000##FFFFFF
##5B4AE81.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BED
Deuteranopia (green-blind)
#005FE5
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b4ae8;
/* rgb */ color: rgb(91, 74, 232);
/* oklch */ color: oklch(52.8% 0.227 280.1);
Tailwind
colors: {
  custom: {
    50: '#987ef1',
    500: '#5b4ae8',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ae8;
$custom-light: #987ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ae8",
  "rgb": {
    "r": 91,
    "g": 74,
    "b": 232
  },
  "hsl": {
    "h": 246.456,
    "s": 77.451,
    "l": 60
  },
  "oklch": {
    "l": 0.5276,
    "c": 0.22705,
    "h": 280.1
  },
  "luminance": 0.12948
}

Semantic roles & 50–950 ramp

primary
#5B4AE8
secondary
#DFE5A8
accent
#F434DF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B4AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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