#5B59EA#5B59EA

#5B59EA is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.3% C 0.212 H 277.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5B59EA
RGBrgb(91, 89, 234)
HSLhsl(241, 78%, 63%)
HSVhsv(241, 62%, 92%)
CMYKcmyk(61.1%, 62%, 0%, 8.2%)
CIE-LABlab(46.05, 42.90, -73.17)
CIE-LCHlch(46.05, 84.82, 300.38°)
OKLaboklab(55.26% 0.0277 -0.2107)
OKLCHoklch(55.26% 0.212 277.5)
XYZxyz(22.7333, 15.3076, 79.5826)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59EA #E8EA59
analogous
#599FEA #5B59EA #A459EA
triadic
#5B59EA #EA5B59 #59EA5B
tetradic
#5B59EA #EA599F #E8EA59 #59EAA4
square
#5B59EA #EA599F #E8EA59 #59EAA4
split-complementary
#5B59EA #EAA459 #9FEA59
monochromatic
#1917B2 #2523E3 #5B59EA #918FF1 #C6C6F8

Accessibility & contrast

On white

5.17
#5B59EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5B59EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59EA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59EA#FFFFFF#000000##FFFFFF
##5B59EA1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#0067E7
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b59ea;
/* rgb */ color: rgb(91, 89, 234);
/* oklch */ color: oklch(55.3% 0.212 277.5);
Tailwind
colors: {
  custom: {
    50: '#9788f2',
    500: '#5b59ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b59ea;
$custom-light: #9788f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59ea",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 240.828,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55255,
    "c": 0.21248,
    "h": 277.5
  },
  "luminance": 0.15309
}

Semantic roles & 50–950 ramp

primary
#5B59EA
secondary
#E9E9B6
accent
#DA0CD7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B59EA

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

Preview Lab → · Contrast checker → · Palette generator →

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