#5B58E1#5B58E1

#5B58E1 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.4% C 0.202 H 278.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5B58E1
RGBrgb(91, 88, 225)
HSLhsl(241, 70%, 61%)
HSVhsv(241, 61%, 88%)
CMYKcmyk(59.6%, 60.9%, 0%, 11.8%)
CIE-LABlab(45.13, 40.62, -69.58)
CIE-LCHlch(45.13, 80.57, 300.28°)
OKLaboklab(54.37% 0.029 -0.2001)
OKLCHoklch(54.37% 0.202 278.3)
XYZxyz(21.3904, 14.6383, 72.9178)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B58E1 #DEE158
analogous
#589AE1 #5B58E1 #A058E1
triadic
#5B58E1 #E15B58 #58E15B
tetradic
#5B58E1 #E1589A #DEE158 #58E1A0
square
#5B58E1 #E1589A #DEE158 #58E1A0
split-complementary
#5B58E1 #E1A058 #9AE158
monochromatic
#201DA2 #2A26D5 #5B58E1 #8E8CEA #C1C0F4

Accessibility & contrast

On white

5.35
#5B58E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5B58E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B58E1
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B58E1#FFFFFF#000000##FFFFFF
##5B58E11.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E5
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5b58e1;
/* rgb */ color: rgb(91, 88, 225);
/* oklch */ color: oklch(54.4% 0.202 278.3);
Tailwind
colors: {
  custom: {
    50: '#9687eb',
    500: '#5b58e1',
    950: '#000000',
  },
}
SCSS
$custom: #5b58e1;
$custom-light: #9687eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b58e1",
  "rgb": {
    "r": 91,
    "g": 88,
    "b": 225
  },
  "hsl": {
    "h": 241.314,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54366,
    "c": 0.20221,
    "h": 278.3
  },
  "luminance": 0.1464
}

Semantic roles & 50–950 ramp

primary
#5B58E1
secondary
#E3E4B1
accent
#D214CD
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5B58E1

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

Preview Lab → · Contrast checker → · Palette generator →

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