#5A58E4#5A58E4

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

Color values

HEX#5A58E4
RGBrgb(90, 88, 228)
HSLhsl(241, 72%, 62%)
HSVhsv(241, 61%, 89%)
CMYKcmyk(60.5%, 61.4%, 0%, 10.6%)
CIE-LABlab(45.29, 41.42, -71.02)
CIE-LCHlch(45.29, 82.22, 300.25°)
OKLaboklab(54.54% 0.0277 -0.2044)
OKLCHoklch(54.54% 0.206 277.7)
XYZxyz(21.7053, 14.7529, 75.0875)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A58E4 #E2E458
analogous
#589CE4 #5A58E4 #A058E4
triadic
#5A58E4 #E45A58 #58E45A
tetradic
#5A58E4 #E4589C #E2E458 #58E4A0
square
#5A58E4 #E4589C #E2E458 #58E4A0
split-complementary
#5A58E4 #E4A058 #9CE458
monochromatic
#1D1BA7 #2623DB #5A58E4 #8E8DED #C2C1F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A58E4#FFFFFF#000000##FFFFFF
##5A58E41.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)
#0071E9
Deuteranopia (green-blind)
#0065E1
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a58e4;
/* rgb */ color: rgb(90, 88, 228);
/* oklch */ color: oklch(54.5% 0.206 277.7);
Tailwind
colors: {
  custom: {
    50: '#9687ed',
    500: '#5a58e4',
    950: '#000000',
  },
}
SCSS
$custom: #5a58e4;
$custom-light: #9687ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5a58e4",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 240.857,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54537,
    "c": 0.20626,
    "h": 277.7
  },
  "luminance": 0.14755
}

Semantic roles & 50–950 ramp

primary
#5A58E4
secondary
#E5E6B2
accent
#D411D1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5A58E4

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

Preview Lab → · Contrast checker → · Palette generator →

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