#5B59E4#5B59E4

#5B59E4 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.8% C 0.205 H 277.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5B59E4
RGBrgb(91, 89, 228)
HSLhsl(241, 72%, 62%)
HSVhsv(241, 61%, 89%)
CMYKcmyk(60.1%, 61%, 0%, 10.6%)
CIE-LABlab(45.59, 40.98, -70.53)
CIE-LCHlch(45.59, 81.57, 300.16°)
OKLaboklab(54.77% 0.028 -0.2029)
OKLCHoklch(54.77% 0.205 277.9)
XYZxyz(21.8859, 14.9687, 75.1197)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59E4 #E2E459
analogous
#599DE4 #5B59E4 #A059E4
triadic
#5B59E4 #E45B59 #59E45B
tetradic
#5B59E4 #E4599D #E2E459 #59E4A0
square
#5B59E4 #E4599D #E2E459 #59E4A0
split-complementary
#5B59E4 #E4A059 #9DE459
monochromatic
#1D1BA7 #2724DB #5B59E4 #8F8EED #C3C2F5

Accessibility & contrast

On white

5.26
#5B59E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5B59E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59E4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59E4#FFFFFF#000000##FFFFFF
##5B59E41.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#0066E1
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b59e4;
/* rgb */ color: rgb(91, 89, 228);
/* oklch */ color: oklch(54.8% 0.205 277.9);
Tailwind
colors: {
  custom: {
    50: '#9688ed',
    500: '#5b59e4',
    950: '#000000',
  },
}
SCSS
$custom: #5b59e4;
$custom-light: #9688ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59e4",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 228
  },
  "hsl": {
    "h": 240.863,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54773,
    "c": 0.20484,
    "h": 277.9
  },
  "luminance": 0.1497
}

Semantic roles & 50–950 ramp

primary
#5B59E4
secondary
#E5E6B3
accent
#D411D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5B59E4

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

Preview Lab → · Contrast checker → · Palette generator →

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