#5B4DE1#5B4DE1

#5B4DE1 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.215 H 280.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5B4DE1
RGBrgb(91, 77, 225)
HSLhsl(246, 71%, 59%)
HSVhsv(246, 66%, 88%)
CMYKcmyk(59.6%, 65.8%, 0%, 11.8%)
CIE-LABlab(42.71, 47.05, -73.53)
CIE-LCHlch(42.71, 87.29, 302.61°)
OKLaboklab(52.6% 0.0383 -0.2118)
OKLCHoklch(52.6% 0.215 280.3)
XYZxyz(20.5546, 12.9667, 72.6392)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4DE1 #D3E14D
analogous
#4D89E1 #5B4DE1 #A54DE1
triadic
#5B4DE1 #E15B4D #4DE15B
tetradic
#5B4DE1 #E14D89 #D3E14D #4DE1A5
square
#5B4DE1 #E14D89 #D3E14D #4DE1A5
split-complementary
#5B4DE1 #E1A54D #89E14D
monochromatic
#261A9A #3323CE #5B4DE1 #8B81EA #BCB6F3

Accessibility & contrast

On white

5.84
#5B4DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5B4DE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4DE1
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4DE1#FFFFFF#000000##FFFFFF
##5B4DE11.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE6
Deuteranopia (green-blind)
#005FDE
Tritanopia (blue-blind)
#007390
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b4de1;
/* rgb */ color: rgb(91, 77, 225);
/* oklch */ color: oklch(52.6% 0.215 280.3);
Tailwind
colors: {
  custom: {
    50: '#9780ec',
    500: '#5b4de1',
    950: '#000000',
  },
}
SCSS
$custom: #5b4de1;
$custom-light: #9780ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4de1",
  "rgb": {
    "r": 91,
    "g": 77,
    "b": 225
  },
  "hsl": {
    "h": 245.676,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52601,
    "c": 0.2152,
    "h": 280.3
  },
  "luminance": 0.12968
}

Semantic roles & 50–950 ramp

primary
#5B4DE1
secondary
#DCE2A8
accent
#EE3ADD
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B4DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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