#5D58EA#5D58EA

#5D58EA is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.2% C 0.213 H 278.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5D58EA
RGBrgb(93, 88, 234)
HSLhsl(242, 78%, 63%)
HSVhsv(242, 62%, 92%)
CMYKcmyk(60.3%, 62.4%, 0%, 8.2%)
CIE-LABlab(45.97, 43.80, -73.30)
CIE-LCHlch(45.97, 85.39, 300.86°)
OKLaboklab(55.23% 0.0309 -0.211)
OKLCHoklch(55.23% 0.213 278.3)
XYZxyz(22.8504, 15.2454, 79.5645)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58EA #E5EA58
analogous
#589CEA #5D58EA #A658EA
triadic
#5D58EA #EA5D58 #58EA5D
tetradic
#5D58EA #EA589C #E5EA58 #58EAA6
square
#5D58EA #EA589C #E5EA58 #58EAA6
split-complementary
#5D58EA #EAA658 #9CEA58
monochromatic
#1C16B1 #2822E3 #5D58EA #928EF1 #C6C5F8

Accessibility & contrast

On white

5.19
#5D58EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D58EA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D58EA#FFFFFF#000000##FFFFFF
##5D58EA1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#0067E7
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d58ea;
/* rgb */ color: rgb(93, 88, 234);
/* oklch */ color: oklch(55.2% 0.213 278.3);
Tailwind
colors: {
  custom: {
    50: '#9988f2',
    500: '#5d58ea',
    950: '#000000',
  },
}
SCSS
$custom: #5d58ea;
$custom-light: #9988f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58ea",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 242.055,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55229,
    "c": 0.21324,
    "h": 278.3
  },
  "luminance": 0.15247
}

Semantic roles & 50–950 ramp

primary
#5D58EA
secondary
#E7E9B5
accent
#DA0CD3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D58EA

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

Preview Lab → · Contrast checker → · Palette generator →

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