#5B58EA#5B58EA

#5B58EA is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.1% C 0.214 H 277.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5B58EA
RGBrgb(91, 88, 234)
HSLhsl(241, 78%, 63%)
HSVhsv(241, 62%, 92%)
CMYKcmyk(61.1%, 62.4%, 0%, 8.2%)
CIE-LABlab(45.83, 43.49, -73.53)
CIE-LCHlch(45.83, 85.43, 300.60°)
OKLaboklab(55.09% 0.0285 -0.2117)
OKLCHoklch(55.09% 0.214 277.7)
XYZxyz(22.6506, 15.1423, 79.5551)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B58EA #E7EA58
analogous
#589EEA #5B58EA #A458EA
triadic
#5B58EA #EA5B58 #58EA5B
tetradic
#5B58EA #EA589E #E7EA58 #58EAA4
square
#5B58EA #EA589E #E7EA58 #58EAA4
split-complementary
#5B58EA #EAA458 #9EEA58
monochromatic
#1916B1 #2622E3 #5B58EA #908EF1 #C6C5F8

Accessibility & contrast

On white

5.21
#5B58EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5B58EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B58EA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B58EA#FFFFFF#000000##FFFFFF
##5B58EA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b58ea;
/* rgb */ color: rgb(91, 88, 234);
/* oklch */ color: oklch(55.1% 0.214 277.7);
Tailwind
colors: {
  custom: {
    50: '#9888f2',
    500: '#5b58ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b58ea;
$custom-light: #9888f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b58ea",
  "rgb": {
    "r": 91,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 241.233,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55091,
    "c": 0.21366,
    "h": 277.7
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#5B58EA
secondary
#E8E9B5
accent
#DA0CD6
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B58EA

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

Preview Lab → · Contrast checker → · Palette generator →

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