#5B58E3#5B58E3

#5B58E3 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.5% C 0.205 H 278.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5B58E3
RGBrgb(91, 88, 227)
HSLhsl(241, 71%, 62%)
HSVhsv(241, 61%, 89%)
CMYKcmyk(59.9%, 61.2%, 0%, 11%)
CIE-LABlab(45.29, 41.26, -70.46)
CIE-LCHlch(45.29, 81.65, 300.35°)
OKLaboklab(54.53% 0.0289 -0.2027)
OKLCHoklch(54.53% 0.205 278.1)
XYZxyz(21.6648, 14.7480, 74.3631)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B58E3 #E0E358
analogous
#589BE3 #5B58E3 #A158E3
triadic
#5B58E3 #E35B58 #58E35B
tetradic
#5B58E3 #E3589B #E0E358 #58E3A1
square
#5B58E3 #E3589B #E0E358 #58E3A1
split-complementary
#5B58E3 #E3A158 #9BE358
monochromatic
#1F1CA5 #2824D9 #5B58E3 #8E8CEC #C2C1F5

Accessibility & contrast

On white

5.32
#5B58E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5B58E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B58E3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B58E3#FFFFFF#000000##FFFFFF
##5B58E31.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#0065E0
Tritanopia (blue-blind)
#007A95
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5b58e3;
/* rgb */ color: rgb(91, 88, 227);
/* oklch */ color: oklch(54.5% 0.205 278.1);
Tailwind
colors: {
  custom: {
    50: '#9687ed',
    500: '#5b58e3',
    950: '#000000',
  },
}
SCSS
$custom: #5b58e3;
$custom-light: #9687ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5b58e3",
  "rgb": {
    "r": 91,
    "g": 88,
    "b": 227
  },
  "hsl": {
    "h": 241.295,
    "s": 71.282,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54526,
    "c": 0.20477,
    "h": 278.1
  },
  "luminance": 0.1475
}

Semantic roles & 50–950 ramp

primary
#5B58E3
secondary
#E4E5B2
accent
#D312CF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5B58E3

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

Preview Lab → · Contrast checker → · Palette generator →

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