#5B4BD3#5B4BD3

#5B4BD3 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.1% C 0.200 H 282.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5B4BD3
RGBrgb(91, 75, 211)
HSLhsl(247, 61%, 56%)
HSVhsv(247, 64%, 83%)
CMYKcmyk(56.9%, 64.5%, 0%, 17.3%)
CIE-LABlab(41.15, 43.87, -68.07)
CIE-LCHlch(41.15, 80.99, 302.80°)
OKLaboklab(51.12% 0.0416 -0.1958)
OKLCHoklch(51.12% 0.2 282)
XYZxyz(18.5847, 11.9582, 62.9442)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4BD3 #C3D34B
analogous
#4B7FD3 #5B4BD3 #9F4BD3
triadic
#5B4BD3 #D35B4B #4BD35B
tetradic
#5B4BD3 #D34B7F #C3D34B #4BD39F
square
#5B4BD3 #D34B7F #C3D34B #4BD39F
split-complementary
#5B4BD3 #D39F4B #7FD34B
monochromatic
#2C2083 #3C2CB5 #5B4BD3 #887CDF #B5ADEB

Accessibility & contrast

On white

6.19
#5B4BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5B4BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4BD3
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4BD3#FFFFFF#000000##FFFFFF
##5B4BD31.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b4bd3;
/* rgb */ color: rgb(91, 75, 211);
/* oklch */ color: oklch(51.1% 0.200 282.0);
Tailwind
colors: {
  custom: {
    50: '#957ee2',
    500: '#5b4bd3',
    950: '#000000',
  },
}
SCSS
$custom: #5b4bd3;
$custom-light: #957ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4bd3",
  "rgb": {
    "r": 91,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 247.059,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51117,
    "c": 0.20013,
    "h": 282
  },
  "luminance": 0.11959
}

Semantic roles & 50–950 ramp

primary
#5B4BD3
secondary
#D2D9A1
accent
#E444D1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B4BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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