#5B59ED#5B59ED

#5B59ED is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.5% C 0.216 H 277.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5B59ED
RGBrgb(91, 89, 237)
HSLhsl(241, 80%, 64%)
HSVhsv(241, 62%, 93%)
CMYKcmyk(61.6%, 62.4%, 0%, 7.1%)
CIE-LABlab(46.29, 43.86, -74.48)
CIE-LCHlch(46.29, 86.43, 300.49°)
OKLaboklab(55.5% 0.0275 -0.2145)
OKLCHoklch(55.5% 0.216 277.3)
XYZxyz(23.1679, 15.4815, 81.8717)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59ED #EBED59
analogous
#59A1ED #5B59ED #A559ED
triadic
#5B59ED #ED5B59 #59ED5B
tetradic
#5B59ED #ED59A1 #EBED59 #59EDA5
square
#5B59ED #ED59A1 #EBED59 #59EDA5
split-complementary
#5B59ED #EDA559 #A1ED59
monochromatic
#1614B8 #2422E7 #5B59ED #9290F3 #C8C7F9

Accessibility & contrast

On white

5.13
#5B59ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5B59ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59ED
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59ED#FFFFFF#000000##FFFFFF
##5B59ED1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#0067EA
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5b59ed;
/* rgb */ color: rgb(91, 89, 237);
/* oklch */ color: oklch(55.5% 0.216 277.3);
Tailwind
colors: {
  custom: {
    50: '#9888f4',
    500: '#5b59ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b59ed;
$custom-light: #9888f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59ed",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 237
  },
  "hsl": {
    "h": 240.811,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.55499,
    "c": 0.21626,
    "h": 277.3
  },
  "luminance": 0.15483
}

Semantic roles & 50–950 ramp

primary
#5B59ED
secondary
#EAEBB7
accent
#DD09DA
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B59ED

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

Preview Lab → · Contrast checker → · Palette generator →

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