#5B4BDD#5B4BDD

#5B4BDD is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.0% C 0.213 H 281.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5B4BDD
RGBrgb(91, 75, 221)
HSLhsl(247, 68%, 58%)
HSVhsv(247, 66%, 87%)
CMYKcmyk(58.8%, 66.1%, 0%, 13.3%)
CIE-LABlab(41.96, 46.95, -72.48)
CIE-LCHlch(41.96, 86.36, 302.94°)
OKLaboklab(51.96% 0.0405 -0.2087)
OKLCHoklch(51.96% 0.213 281)
XYZxyz(19.8775, 12.4754, 69.7531)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4BDD #CDDD4B
analogous
#4B84DD #5B4BDD #A44BDD
triadic
#5B4BDD #DD5B4B #4BDD5B
tetradic
#5B4BDD #DD4B84 #CDDD4B #4BDDA4
square
#5B4BDD #DD4B84 #CDDD4B #4BDDA4
split-complementary
#5B4BDD #DDA44B #84DD4B
monochromatic
#291C92 #3725C5 #5B4BDD #8A7EE7 #B9B2F0

Accessibility & contrast

On white

6.01
#5B4BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5B4BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4BDD
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4BDD#FFFFFF#000000##FFFFFF
##5B4BDD1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#005EDA
Tritanopia (blue-blind)
#00718E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5b4bdd;
/* rgb */ color: rgb(91, 75, 221);
/* oklch */ color: oklch(52.0% 0.213 281.0);
Tailwind
colors: {
  custom: {
    50: '#967fe9',
    500: '#5b4bdd',
    950: '#000000',
  },
}
SCSS
$custom: #5b4bdd;
$custom-light: #967fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4bdd",
  "rgb": {
    "r": 91,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 246.575,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51957,
    "c": 0.21257,
    "h": 281
  },
  "luminance": 0.12477
}

Semantic roles & 50–950 ramp

primary
#5B4BDD
secondary
#D9DFA5
accent
#EB3DD8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5B4BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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