#5B4BE0#5B4BE0

#5B4BE0 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.2% C 0.216 H 280.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5B4BE0
RGBrgb(91, 75, 224)
HSLhsl(246, 71%, 59%)
HSVhsv(246, 67%, 88%)
CMYKcmyk(59.4%, 66.5%, 0%, 12.2%)
CIE-LABlab(42.21, 47.87, -73.78)
CIE-LCHlch(42.21, 87.95, 302.98°)
OKLaboklab(52.21% 0.0401 -0.2125)
OKLCHoklch(52.21% 0.216 280.7)
XYZxyz(20.2808, 12.6367, 71.8770)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4BE0 #D0E04B
analogous
#4B85E0 #5B4BE0 #A54BE0
triadic
#5B4BE0 #E05B4B #4BE05B
tetradic
#5B4BE0 #E04B85 #D0E04B #4BE0A5
square
#5B4BE0 #E04B85 #D0E04B #4BE0A5
split-complementary
#5B4BE0 #E0A54B #85E04B
monochromatic
#271A97 #3523CB #5B4BE0 #8B7FE9 #BAB3F2

Accessibility & contrast

On white

5.95
#5B4BE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5B4BE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4BE0
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4BE0#FFFFFF#000000##FFFFFF
##5B4BE01.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E5
Deuteranopia (green-blind)
#005EDD
Tritanopia (blue-blind)
#00728F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b4be0;
/* rgb */ color: rgb(91, 75, 224);
/* oklch */ color: oklch(52.2% 0.216 280.7);
Tailwind
colors: {
  custom: {
    50: '#977feb',
    500: '#5b4be0',
    950: '#000000',
  },
}
SCSS
$custom: #5b4be0;
$custom-light: #977feb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4be0",
  "rgb": {
    "r": 91,
    "g": 75,
    "b": 224
  },
  "hsl": {
    "h": 246.443,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52213,
    "c": 0.21625,
    "h": 280.7
  },
  "luminance": 0.12638
}

Semantic roles & 50–950 ramp

primary
#5B4BE0
secondary
#DBE1A6
accent
#ED3ADA
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B4BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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