#5B4DDD#5B4DDD

#5B4DDD is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.3% C 0.210 H 280.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5B4DDD
RGBrgb(91, 77, 221)
HSLhsl(246, 68%, 58%)
HSVhsv(246, 65%, 87%)
CMYKcmyk(58.8%, 65.2%, 0%, 13.3%)
CIE-LABlab(42.39, 45.81, -71.78)
CIE-LCHlch(42.39, 85.15, 302.54°)
OKLaboklab(52.26% 0.0388 -0.2066)
OKLCHoklch(52.26% 0.21 280.6)
XYZxyz(20.0153, 12.7510, 69.7991)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4DDD #CFDD4D
analogous
#4D87DD #5B4DDD #A34DDD
triadic
#5B4DDD #DD5B4D #4DDD5B
tetradic
#5B4DDD #DD4D87 #CFDD4D #4DDDA3
square
#5B4DDD #DD4D87 #CFDD4D #4DDDA3
split-complementary
#5B4DDD #DDA34D #87DD4D
monochromatic
#281C93 #3626C7 #5B4DDD #8A80E7 #BAB4F1

Accessibility & contrast

On white

5.91
#5B4DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5B4DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4DDD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4DDD#FFFFFF#000000##FFFFFF
##5B4DDD1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E1
Deuteranopia (green-blind)
#005FDA
Tritanopia (blue-blind)
#00728E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b4ddd;
/* rgb */ color: rgb(91, 77, 221);
/* oklch */ color: oklch(52.3% 0.210 280.6);
Tailwind
colors: {
  custom: {
    50: '#9680e9',
    500: '#5b4ddd',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ddd;
$custom-light: #9680e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ddd",
  "rgb": {
    "r": 91,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 245.833,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52263,
    "c": 0.21025,
    "h": 280.6
  },
  "luminance": 0.12752
}

Semantic roles & 50–950 ramp

primary
#5B4DDD
secondary
#DADFA6
accent
#EB3DDA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5B4DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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