#5B4AD3#5B4AD3

#5B4AD3 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.0% C 0.201 H 282.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5B4AD3
RGBrgb(91, 74, 211)
HSLhsl(247, 61%, 56%)
HSVhsv(247, 65%, 83%)
CMYKcmyk(56.9%, 64.9%, 0%, 17.3%)
CIE-LABlab(40.93, 44.45, -68.42)
CIE-LCHlch(40.93, 81.59, 303.01°)
OKLaboklab(50.96% 0.0425 -0.1968)
OKLCHoklch(50.96% 0.201 282.2)
XYZxyz(18.5174, 11.8237, 62.9218)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4AD3 #C2D34A
analogous
#4A7DD3 #5B4AD3 #9F4AD3
triadic
#5B4AD3 #D35B4A #4AD35B
tetradic
#5B4AD3 #D34A7D #C2D34A #4AD39F
square
#5B4AD3 #D34A7D #C2D34A #4AD39F
split-complementary
#5B4AD3 #D39F4A #7DD34A
monochromatic
#2C2083 #3D2CB4 #5B4AD3 #887BDF #B4ACEB

Accessibility & contrast

On white

6.24
#5B4AD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5B4AD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4AD3
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4AD3#FFFFFF#000000##FFFFFF
##5B4AD31.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#196D88
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5b4ad3;
/* rgb */ color: rgb(91, 74, 211);
/* oklch */ color: oklch(51.0% 0.201 282.2);
Tailwind
colors: {
  custom: {
    50: '#957ee2',
    500: '#5b4ad3',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ad3;
$custom-light: #957ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ad3",
  "rgb": {
    "r": 91,
    "g": 74,
    "b": 211
  },
  "hsl": {
    "h": 247.445,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50961,
    "c": 0.20132,
    "h": 282.2
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#5B4AD3
secondary
#D2D9A0
accent
#E444D0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B4AD3

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

Preview Lab → · Contrast checker → · Palette generator →

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