#5B59EF#5B59EF

#5B59EF is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.7% C 0.219 H 277.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5B59EF
RGBrgb(91, 89, 239)
HSLhsl(241, 82%, 64%)
HSVhsv(241, 63%, 94%)
CMYKcmyk(61.9%, 62.8%, 0%, 6.3%)
CIE-LABlab(46.44, 44.49, -75.34)
CIE-LCHlch(46.44, 87.50, 300.56°)
OKLaboklab(55.66% 0.0273 -0.217)
OKLCHoklch(55.66% 0.219 277.2)
XYZxyz(23.4617, 15.5990, 83.4192)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59EF #EDEF59
analogous
#59A2EF #5B59EF #A659EF
triadic
#5B59EF #EF5B59 #59EF5B
tetradic
#5B59EF #EF59A2 #EDEF59 #59EFA6
square
#5B59EF #EF59A2 #EDEF59 #59EFA6
split-complementary
#5B59EF #EFA659 #A2EF59
monochromatic
#1412BC #2421EA #5B59EF #9291F4 #C9C9FA

Accessibility & contrast

On white

5.10
#5B59EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5B59EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59EF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59EF#FFFFFF#000000##FFFFFF
##5B59EF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#0068EC
Tritanopia (blue-blind)
#007F9C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5b59ef;
/* rgb */ color: rgb(91, 89, 239);
/* oklch */ color: oklch(55.7% 0.219 277.2);
Tailwind
colors: {
  custom: {
    50: '#9888f5',
    500: '#5b59ef',
    950: '#000000',
  },
}
SCSS
$custom: #5b59ef;
$custom-light: #9888f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59ef",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 240.8,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.55663,
    "c": 0.21876,
    "h": 277.2
  },
  "luminance": 0.15601
}

Semantic roles & 50–950 ramp

primary
#5B59EF
secondary
#EBECB8
accent
#DF07DC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B59EF

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

Preview Lab → · Contrast checker → · Palette generator →

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