#5B4BD4#5B4BD4

#5B4BD4 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.2% C 0.201 H 281.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5B4BD4
RGBrgb(91, 75, 212)
HSLhsl(247, 61%, 56%)
HSVhsv(247, 65%, 83%)
CMYKcmyk(57.1%, 64.6%, 0%, 16.9%)
CIE-LABlab(41.23, 44.18, -68.52)
CIE-LCHlch(41.23, 81.53, 302.81°)
OKLaboklab(51.2% 0.0415 -0.1971)
OKLCHoklch(51.2% 0.201 281.9)
XYZxyz(18.7104, 12.0085, 63.6065)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4BD4 #C4D44B
analogous
#4B80D4 #5B4BD4 #A04BD4
triadic
#5B4BD4 #D45B4B #4BD45B
tetradic
#5B4BD4 #D44B80 #C4D44B #4BD4A0
square
#5B4BD4 #D44B80 #C4D44B #4BD4A0
split-complementary
#5B4BD4 #D4A04B #80D44B
monochromatic
#2C2085 #3C2CB6 #5B4BD4 #887CE0 #B5AEEC

Accessibility & contrast

On white

6.17
#5B4BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5B4BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4BD4
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4BD4#FFFFFF#000000##FFFFFF
##5B4BD41.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#005CD1
Tritanopia (blue-blind)
#166E89
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5b4bd4;
/* rgb */ color: rgb(91, 75, 212);
/* oklch */ color: oklch(51.2% 0.201 281.9);
Tailwind
colors: {
  custom: {
    50: '#957ee2',
    500: '#5b4bd4',
    950: '#000000',
  },
}
SCSS
$custom: #5b4bd4;
$custom-light: #957ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4bd4",
  "rgb": {
    "r": 91,
    "g": 75,
    "b": 212
  },
  "hsl": {
    "h": 247.007,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.512,
    "c": 0.20138,
    "h": 281.9
  },
  "luminance": 0.1201
}

Semantic roles & 50–950 ramp

primary
#5B4BD4
secondary
#D3DAA1
accent
#E543D2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #5B4BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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