#5A58EF#5A58EF

#5A58EF is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.4% C 0.220 H 277.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5A58EF
RGBrgb(90, 88, 239)
HSLhsl(241, 83%, 64%)
HSVhsv(241, 63%, 94%)
CMYKcmyk(62.3%, 63.2%, 0%, 6.3%)
CIE-LABlab(46.15, 44.93, -75.82)
CIE-LCHlch(46.15, 88.13, 300.65°)
OKLaboklab(55.43% 0.027 -0.2185)
OKLCHoklch(55.43% 0.22 277)
XYZxyz(23.2811, 15.3832, 83.3870)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A58EF #EDEF58
analogous
#58A2EF #5A58EF #A658EF
triadic
#5A58EF #EF5A58 #58EF5A
tetradic
#5A58EF #EF58A2 #EDEF58 #58EFA6
square
#5A58EF #EF58A2 #EDEF58 #58EFA6
split-complementary
#5A58EF #EFA658 #A2EF58
monochromatic
#1412BB #2320EA #5A58EF #9190F4 #C8C8FA

Accessibility & contrast

On white

5.15
#5A58EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5A58EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A58EF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A58EF#FFFFFF#000000##FFFFFF
##5A58EF1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#0067EC
Tritanopia (blue-blind)
#007E9C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a58ef;
/* rgb */ color: rgb(90, 88, 239);
/* oklch */ color: oklch(55.4% 0.220 277.0);
Tailwind
colors: {
  custom: {
    50: '#9888f5',
    500: '#5a58ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a58ef;
$custom-light: #9888f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a58ef",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 240.795,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55434,
    "c": 0.22014,
    "h": 277
  },
  "luminance": 0.15385
}

Semantic roles & 50–950 ramp

primary
#5A58EF
secondary
#EBECB7
accent
#DF07DC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A58EF

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

Preview Lab → · Contrast checker → · Palette generator →

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