#5B4CD6#5B4CD6

#5B4CD6 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.5% C 0.203 H 281.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5B4CD6
RGBrgb(91, 76, 214)
HSLhsl(247, 63%, 57%)
HSVhsv(247, 64%, 84%)
CMYKcmyk(57.5%, 64.5%, 0%, 16.1%)
CIE-LABlab(41.61, 44.22, -69.05)
CIE-LCHlch(41.61, 82.00, 302.63°)
OKLaboklab(51.52% 0.0404 -0.1986)
OKLCHoklch(51.52% 0.203 281.5)
XYZxyz(19.0326, 12.2468, 64.9662)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4CD6 #C7D64C
analogous
#4C82D6 #5B4CD6 #A04CD6
triadic
#5B4CD6 #D65B4C #4CD65B
tetradic
#5B4CD6 #D64C82 #C7D64C #4CD6A0
square
#5B4CD6 #D64C82 #C7D64C #4CD6A0
split-complementary
#5B4CD6 #D6A04C #82D64C
monochromatic
#2B1F88 #3A2BBA #5B4CD6 #897EE1 #B6B0ED

Accessibility & contrast

On white

6.09
#5B4CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5B4CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4CD6
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4CD6#FFFFFF#000000##FFFFFF
##5B4CD61.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DA
Deuteranopia (green-blind)
#005DD3
Tritanopia (blue-blind)
#116F8A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b4cd6;
/* rgb */ color: rgb(91, 76, 214);
/* oklch */ color: oklch(51.5% 0.203 281.5);
Tailwind
colors: {
  custom: {
    50: '#957fe4',
    500: '#5b4cd6',
    950: '#000000',
  },
}
SCSS
$custom: #5b4cd6;
$custom-light: #957fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4cd6",
  "rgb": {
    "r": 91,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 246.522,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51522,
    "c": 0.2027,
    "h": 281.5
  },
  "luminance": 0.12248
}

Semantic roles & 50–950 ramp

primary
#5B4CD6
secondary
#D5DBA3
accent
#E642D4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5B4CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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