#5B4BDC#5B4BDC

#5B4BDC is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.9% C 0.211 H 281.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5B4BDC
RGBrgb(91, 75, 220)
HSLhsl(247, 67%, 58%)
HSVhsv(247, 66%, 86%)
CMYKcmyk(58.6%, 65.9%, 0%, 13.7%)
CIE-LABlab(41.88, 46.64, -72.04)
CIE-LCHlch(41.88, 85.82, 302.92°)
OKLaboklab(51.87% 0.0406 -0.2074)
OKLCHoklch(51.87% 0.211 281.1)
XYZxyz(19.7447, 12.4222, 69.0535)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4BDC #CCDC4B
analogous
#4B83DC #5B4BDC #A44BDC
triadic
#5B4BDC #DC5B4B #4BDC5B
tetradic
#5B4BDC #DC4B83 #CCDC4B #4BDCA4
square
#5B4BDC #DC4B83 #CCDC4B #4BDCA4
split-complementary
#5B4BDC #DCA44B #83DC4B
monochromatic
#291C91 #3726C4 #5B4BDC #8A7EE6 #B8B1F0

Accessibility & contrast

On white

6.03
#5B4BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5B4BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4BDC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4BDC#FFFFFF#000000##FFFFFF
##5B4BDC1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E0
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#00708D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5b4bdc;
/* rgb */ color: rgb(91, 75, 220);
/* oklch */ color: oklch(51.9% 0.211 281.1);
Tailwind
colors: {
  custom: {
    50: '#967fe8',
    500: '#5b4bdc',
    950: '#000000',
  },
}
SCSS
$custom: #5b4bdc;
$custom-light: #967fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4bdc",
  "rgb": {
    "r": 91,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 246.621,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51872,
    "c": 0.21133,
    "h": 281.1
  },
  "luminance": 0.12424
}

Semantic roles & 50–950 ramp

primary
#5B4BDC
secondary
#D8DEA4
accent
#EA3DD7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5B4BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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