#5B59EC#5B59EC

#5B59EC is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.4% C 0.215 H 277.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5B59EC
RGBrgb(91, 89, 236)
HSLhsl(241, 79%, 64%)
HSVhsv(241, 62%, 93%)
CMYKcmyk(61.4%, 62.3%, 0%, 7.5%)
CIE-LABlab(46.21, 43.54, -74.04)
CIE-LCHlch(46.21, 85.89, 300.46°)
OKLaboklab(55.42% 0.0275 -0.2132)
OKLCHoklch(55.42% 0.215 277.4)
XYZxyz(23.0222, 15.4232, 81.1044)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59EC #EAEC59
analogous
#59A0EC #5B59EC #A459EC
triadic
#5B59EC #EC5B59 #59EC5B
tetradic
#5B59EC #EC59A0 #EAEC59 #59ECA4
square
#5B59EC #EC59A0 #EAEC59 #59ECA4
split-complementary
#5B59EC #ECA459 #A0EC59
monochromatic
#1715B6 #2522E6 #5B59EC #9190F2 #C8C7F9

Accessibility & contrast

On white

5.14
#5B59EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5B59EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59EC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59EC#FFFFFF#000000##FFFFFF
##5B59EC1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#0067E9
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b59ec;
/* rgb */ color: rgb(91, 89, 236);
/* oklch */ color: oklch(55.4% 0.215 277.4);
Tailwind
colors: {
  custom: {
    50: '#9888f3',
    500: '#5b59ec',
    950: '#000000',
  },
}
SCSS
$custom: #5b59ec;
$custom-light: #9888f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59ec",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 240.816,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55418,
    "c": 0.215,
    "h": 277.4
  },
  "luminance": 0.15425
}

Semantic roles & 50–950 ramp

primary
#5B59EC
secondary
#EAEAB6
accent
#DC0AD9
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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