#5B4CDD#5B4CDD

#5B4CDD is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.211 H 280.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5B4CDD
RGBrgb(91, 76, 221)
HSLhsl(246, 68%, 58%)
HSVhsv(246, 66%, 87%)
CMYKcmyk(58.8%, 65.6%, 0%, 13.3%)
CIE-LABlab(42.17, 46.38, -72.13)
CIE-LCHlch(42.17, 85.76, 302.74°)
OKLaboklab(52.11% 0.0396 -0.2077)
OKLCHoklch(52.11% 0.211 280.8)
XYZxyz(19.9459, 12.6121, 69.7759)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4CDD #CEDD4C
analogous
#4C85DD #5B4CDD #A34CDD
triadic
#5B4CDD #DD5B4C #4CDD5B
tetradic
#5B4CDD #DD4C85 #CEDD4C #4CDDA3
square
#5B4CDD #DD4C85 #CEDD4C #4CDDA3
split-complementary
#5B4CDD #DDA34C #85DD4C
monochromatic
#281C93 #3626C6 #5B4CDD #8A7FE7 #B9B3F1

Accessibility & contrast

On white

5.96
#5B4CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5B4CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4CDD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4CDD#FFFFFF#000000##FFFFFF
##5B4CDD1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b4cdd;
/* rgb */ color: rgb(91, 76, 221);
/* oklch */ color: oklch(52.1% 0.211 280.8);
Tailwind
colors: {
  custom: {
    50: '#967fe9',
    500: '#5b4cdd',
    950: '#000000',
  },
}
SCSS
$custom: #5b4cdd;
$custom-light: #967fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4cdd",
  "rgb": {
    "r": 91,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 246.207,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52109,
    "c": 0.21142,
    "h": 280.8
  },
  "luminance": 0.12613
}

Semantic roles & 50–950 ramp

primary
#5B4CDD
secondary
#D9DFA6
accent
#EB3DD9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5B4CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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