#5B4AD2#5B4AD2

#5B4AD2 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 50.9% C 0.200 H 282.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5B4AD2
RGBrgb(91, 74, 210)
HSLhsl(248, 60%, 56%)
HSVhsv(248, 65%, 82%)
CMYKcmyk(56.7%, 64.8%, 0%, 17.6%)
CIE-LABlab(40.85, 44.14, -67.98)
CIE-LCHlch(40.85, 81.06, 303.00°)
OKLaboklab(50.88% 0.0426 -0.1955)
OKLCHoklch(50.88% 0.2 282.3)
XYZxyz(18.3924, 11.7737, 62.2636)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4AD2 #C1D24A
analogous
#4A7DD2 #5B4AD2 #9F4AD2
triadic
#5B4AD2 #D25B4A #4AD25B
tetradic
#5B4AD2 #D24A7D #C1D24A #4AD29F
square
#5B4AD2 #D24A7D #C1D24A #4AD29F
split-complementary
#5B4AD2 #D29F4A #7DD24A
monochromatic
#2C2081 #3D2CB2 #5B4AD2 #877BDE #B4ACEA

Accessibility & contrast

On white

6.26
#5B4AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5B4AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4AD2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4AD2#FFFFFF#000000##FFFFFF
##5B4AD21.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#1B6C87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b4ad2;
/* rgb */ color: rgb(91, 74, 210);
/* oklch */ color: oklch(50.9% 0.200 282.3);
Tailwind
colors: {
  custom: {
    50: '#957ee1',
    500: '#5b4ad2',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ad2;
$custom-light: #957ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ad2",
  "rgb": {
    "r": 91,
    "g": 74,
    "b": 210
  },
  "hsl": {
    "h": 247.5,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50877,
    "c": 0.20008,
    "h": 282.3
  },
  "luminance": 0.11775
}

Semantic roles & 50–950 ramp

primary
#5B4AD2
secondary
#D1D8A0
accent
#E344CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B4AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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