#5B4BE5#5B4BE5

#5B4BE5 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.6% C 0.222 H 280.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5B4BE5
RGBrgb(91, 75, 229)
HSLhsl(246, 75%, 60%)
HSVhsv(246, 67%, 90%)
CMYKcmyk(60.3%, 67.2%, 0%, 10.2%)
CIE-LABlab(42.63, 49.41, -75.94)
CIE-LCHlch(42.63, 90.59, 303.05°)
OKLaboklab(52.64% 0.0394 -0.2188)
OKLCHoklch(52.64% 0.222 280.2)
XYZxyz(20.9688, 12.9119, 75.5008)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4BE5 #D5E54B
analogous
#4B88E5 #5B4BE5 #A84BE5
triadic
#5B4BE5 #E55B4B #4BE55B
tetradic
#5B4BE5 #E54B88 #D5E54B #4BE5A8
square
#5B4BE5 #E54B88 #D5E54B #4BE5A8
split-complementary
#5B4BE5 #E5A84B #88E54B
monochromatic
#25179F #321FD4 #5B4BE5 #8C80ED #BCB6F4

Accessibility & contrast

On white

5.86
#5B4BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5B4BE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4BE5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4BE5#FFFFFF#000000##FFFFFF
##5B4BE51.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#005FE2
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b4be5;
/* rgb */ color: rgb(91, 75, 229);
/* oklch */ color: oklch(52.6% 0.222 280.2);
Tailwind
colors: {
  custom: {
    50: '#987fee',
    500: '#5b4be5',
    950: '#000000',
  },
}
SCSS
$custom: #5b4be5;
$custom-light: #987fee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4be5",
  "rgb": {
    "r": 91,
    "g": 75,
    "b": 229
  },
  "hsl": {
    "h": 246.234,
    "s": 74.757,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52644,
    "c": 0.22234,
    "h": 280.2
  },
  "luminance": 0.12913
}

Semantic roles & 50–950 ramp

primary
#5B4BE5
secondary
#DEE4A8
accent
#F136DE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B4BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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