#5A58ED#5A58ED

#5A58ED is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.3% C 0.218 H 277.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5A58ED
RGBrgb(90, 88, 237)
HSLhsl(241, 81%, 64%)
HSVhsv(241, 63%, 93%)
CMYKcmyk(62%, 62.9%, 0%, 7.1%)
CIE-LABlab(46.00, 44.30, -74.95)
CIE-LCHlch(46.00, 87.06, 300.58°)
OKLaboklab(55.27% 0.0271 -0.2159)
OKLCHoklch(55.27% 0.218 277.2)
XYZxyz(22.9873, 15.2657, 81.8395)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A58ED #EBED58
analogous
#58A0ED #5A58ED #A458ED
triadic
#5A58ED #ED5A58 #58ED5A
tetradic
#5A58ED #ED58A0 #EBED58 #58EDA4
square
#5A58ED #ED58A0 #EBED58 #58EDA4
split-complementary
#5A58ED #EDA458 #A0ED58
monochromatic
#1614B7 #2321E7 #5A58ED #918FF3 #C7C6F9

Accessibility & contrast

On white

5.18
#5A58ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5A58ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A58ED
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A58ED#FFFFFF#000000##FFFFFF
##5A58ED1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F2
Deuteranopia (green-blind)
#0067EA
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a58ed;
/* rgb */ color: rgb(90, 88, 237);
/* oklch */ color: oklch(55.3% 0.218 277.2);
Tailwind
colors: {
  custom: {
    50: '#9888f4',
    500: '#5a58ed',
    950: '#000000',
  },
}
SCSS
$custom: #5a58ed;
$custom-light: #9888f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a58ed",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 240.805,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55269,
    "c": 0.21763,
    "h": 277.2
  },
  "luminance": 0.15268
}

Semantic roles & 50–950 ramp

primary
#5A58ED
secondary
#EAEBB6
accent
#DD09DA
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A58ED

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

Preview Lab → · Contrast checker → · Palette generator →

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