#5A58E5#5A58E5

#5A58E5 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.6% C 0.208 H 277.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5A58E5
RGBrgb(90, 88, 229)
HSLhsl(241, 73%, 62%)
HSVhsv(241, 62%, 90%)
CMYKcmyk(60.7%, 61.6%, 0%, 10.2%)
CIE-LABlab(45.37, 41.74, -71.46)
CIE-LCHlch(45.37, 82.76, 300.29°)
OKLaboklab(54.62% 0.0276 -0.2057)
OKLCHoklch(54.62% 0.208 277.6)
XYZxyz(21.8445, 14.8086, 75.8208)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A58E5 #E3E558
analogous
#589DE5 #5A58E5 #A158E5
triadic
#5A58E5 #E55A58 #58E55A
tetradic
#5A58E5 #E5589D #E3E558 #58E5A1
square
#5A58E5 #E5589D #E3E558 #58E5A1
split-complementary
#5A58E5 #E5A158 #9DE558
monochromatic
#1C1AA8 #2623DD #5A58E5 #8E8DED #C3C2F5

Accessibility & contrast

On white

5.30
#5A58E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5A58E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A58E5
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A58E5#FFFFFF#000000##FFFFFF
##5A58E51.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a58e5;
/* rgb */ color: rgb(90, 88, 229);
/* oklch */ color: oklch(54.6% 0.208 277.6);
Tailwind
colors: {
  custom: {
    50: '#9687ee',
    500: '#5a58e5',
    950: '#000000',
  },
}
SCSS
$custom: #5a58e5;
$custom-light: #9687ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a58e5",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 240.851,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54617,
    "c": 0.20753,
    "h": 277.6
  },
  "luminance": 0.1481
}

Semantic roles & 50–950 ramp

primary
#5A58E5
secondary
#E6E6B3
accent
#D510D2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5A58E5

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

Preview Lab → · Contrast checker → · Palette generator →

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