#5A58E8#5A58E8

#5A58E8 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.9% C 0.211 H 277.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5A58E8
RGBrgb(90, 88, 232)
HSLhsl(241, 76%, 63%)
HSVhsv(241, 62%, 91%)
CMYKcmyk(61.2%, 62.1%, 0%, 9%)
CIE-LABlab(45.60, 42.70, -72.78)
CIE-LCHlch(45.60, 84.38, 300.40°)
OKLaboklab(54.86% 0.0274 -0.2095)
OKLCHoklch(54.86% 0.211 277.5)
XYZxyz(22.2670, 14.9776, 78.0458)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A58E8 #E6E858
analogous
#589EE8 #5A58E8 #A258E8
triadic
#5A58E8 #E85A58 #58E85A
tetradic
#5A58E8 #E8589E #E6E858 #58E8A2
square
#5A58E8 #E8589E #E6E858 #58E8A2
split-complementary
#5A58E8 #E8A258 #9EE858
monochromatic
#1A18AE #2522E1 #5A58E8 #8F8EEF #C4C4F7

Accessibility & contrast

On white

5.26
#5A58E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5A58E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A58E8
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A58E8#FFFFFF#000000##FFFFFF
##5A58E81.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a58e8;
/* rgb */ color: rgb(90, 88, 232);
/* oklch */ color: oklch(54.9% 0.211 277.5);
Tailwind
colors: {
  custom: {
    50: '#9787f0',
    500: '#5a58e8',
    950: '#000000',
  },
}
SCSS
$custom: #5a58e8;
$custom-light: #9787f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a58e8",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 240.833,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.5486,
    "c": 0.21134,
    "h": 277.5
  },
  "luminance": 0.14979
}

Semantic roles & 50–950 ramp

primary
#5A58E8
secondary
#E7E8B4
accent
#D80ED5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A58E8

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

Preview Lab → · Contrast checker → · Palette generator →

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