#5A58EB#5A58EB

#5A58EB is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.1% C 0.215 H 277.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5A58EB
RGBrgb(90, 88, 235)
HSLhsl(241, 79%, 63%)
HSVhsv(241, 63%, 92%)
CMYKcmyk(61.7%, 62.6%, 0%, 7.8%)
CIE-LABlab(45.84, 43.66, -74.09)
CIE-LCHlch(45.84, 85.99, 300.51°)
OKLaboklab(55.11% 0.0272 -0.2134)
OKLCHoklch(55.11% 0.215 277.3)
XYZxyz(22.6967, 15.1495, 80.3092)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A58EB #E9EB58
analogous
#589FEB #5A58EB #A358EB
triadic
#5A58EB #EB5A58 #58EB5A
tetradic
#5A58EB #EB589F #E9EB58 #58EBA3
square
#5A58EB #EB589F #E9EB58 #58EBA3
split-complementary
#5A58EB #EBA358 #9FEB58
monochromatic
#1815B3 #2421E4 #5A58EB #908FF2 #C6C5F8

Accessibility & contrast

On white

5.21
#5A58EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5A58EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A58EB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A58EB#FFFFFF#000000##FFFFFF
##5A58EB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#0066E8
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a58eb;
/* rgb */ color: rgb(90, 88, 235);
/* oklch */ color: oklch(55.1% 0.215 277.3);
Tailwind
colors: {
  custom: {
    50: '#9787f2',
    500: '#5a58eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a58eb;
$custom-light: #9787f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a58eb",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 240.816,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55105,
    "c": 0.21512,
    "h": 277.3
  },
  "luminance": 0.15151
}

Semantic roles & 50–950 ramp

primary
#5A58EB
secondary
#E9EAB5
accent
#DB0BD8
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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