#5A58EE#5A58EE

#5A58EE is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.4% C 0.219 H 277.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5A58EE
RGBrgb(90, 88, 238)
HSLhsl(241, 82%, 64%)
HSVhsv(241, 63%, 93%)
CMYKcmyk(62.2%, 63%, 0%, 6.7%)
CIE-LABlab(46.08, 44.62, -75.39)
CIE-LCHlch(46.08, 87.60, 300.62°)
OKLaboklab(55.35% 0.027 -0.2172)
OKLCHoklch(55.35% 0.219 277.1)
XYZxyz(23.1338, 15.3243, 82.6111)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A58EE #ECEE58
analogous
#58A1EE #5A58EE #A558EE
triadic
#5A58EE #EE5A58 #58EE5A
tetradic
#5A58EE #EE58A1 #ECEE58 #58EEA5
square
#5A58EE #EE58A1 #ECEE58 #58EEA5
split-complementary
#5A58EE #EEA558 #A1EE58
monochromatic
#1513B9 #2320E8 #5A58EE #9190F4 #C8C7F9

Accessibility & contrast

On white

5.17
#5A58EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5A58EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A58EE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A58EE#FFFFFF#000000##FFFFFF
##5A58EE1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F3
Deuteranopia (green-blind)
#0067EB
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a58ee;
/* rgb */ color: rgb(90, 88, 238);
/* oklch */ color: oklch(55.4% 0.219 277.1);
Tailwind
colors: {
  custom: {
    50: '#9888f5',
    500: '#5a58ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a58ee;
$custom-light: #9888f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a58ee",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 238
  },
  "hsl": {
    "h": 240.8,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.55352,
    "c": 0.21888,
    "h": 277.1
  },
  "luminance": 0.15326
}

Semantic roles & 50–950 ramp

primary
#5A58EE
secondary
#EBEBB7
accent
#DE08DB
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A58EE

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

Preview Lab → · Contrast checker → · Palette generator →

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