#5B4BE9#5B4BE9

#5B4BE9 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 53.0% C 0.227 H 279.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5B4BE9
RGBrgb(91, 75, 233)
HSLhsl(246, 78%, 60%)
HSVhsv(246, 68%, 91%)
CMYKcmyk(60.9%, 67.8%, 0%, 8.6%)
CIE-LABlab(42.97, 50.63, -77.64)
CIE-LCHlch(42.97, 92.69, 303.11°)
OKLaboklab(52.99% 0.0388 -0.2238)
OKLCHoklch(52.99% 0.227 279.8)
XYZxyz(21.5338, 13.1379, 78.4761)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4BE9 #D9E94B
analogous
#4B8AE9 #5B4BE9 #AA4BE9
triadic
#5B4BE9 #E95B4B #4BE95B
tetradic
#5B4BE9 #E94B8A #D9E94B #4BE9AA
square
#5B4BE9 #E94B8A #D9E94B #4BE9AA
split-complementary
#5B4BE9 #E9AA4B #8AE94B
monochromatic
#2314A5 #2E1BDC #5B4BE9 #8D82F0 #BEB8F6

Accessibility & contrast

On white

5.79
#5B4BE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5B4BE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4BE9
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4BE9#FFFFFF#000000##FFFFFF
##5B4BE91.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEE
Deuteranopia (green-blind)
#005FE6
Tritanopia (blue-blind)
#007594
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b4be9;
/* rgb */ color: rgb(91, 75, 233);
/* oklch */ color: oklch(53.0% 0.227 279.8);
Tailwind
colors: {
  custom: {
    50: '#987ff1',
    500: '#5b4be9',
    950: '#000000',
  },
}
SCSS
$custom: #5b4be9;
$custom-light: #987ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4be9",
  "rgb": {
    "r": 91,
    "g": 75,
    "b": 233
  },
  "hsl": {
    "h": 246.076,
    "s": 78.218,
    "l": 60.392
  },
  "oklch": {
    "l": 0.52993,
    "c": 0.22717,
    "h": 279.8
  },
  "luminance": 0.13139
}

Semantic roles & 50–950 ramp

primary
#5B4BE9
secondary
#E0E6AA
accent
#DA0BC5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B4BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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