#5D58EC#5D58EC

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

Color values

HEX#5D58EC
RGBrgb(93, 88, 236)
HSLhsl(242, 80%, 64%)
HSVhsv(242, 63%, 93%)
CMYKcmyk(60.6%, 62.7%, 0%, 7.5%)
CIE-LABlab(46.12, 44.43, -74.17)
CIE-LCHlch(46.12, 86.46, 300.92°)
OKLaboklab(55.39% 0.0307 -0.2136)
OKLCHoklch(55.39% 0.216 278.2)
XYZxyz(23.1394, 15.3610, 81.0862)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58EC #E7EC58
analogous
#589DEC #5D58EC #A758EC
triadic
#5D58EC #EC5D58 #58EC5D
tetradic
#5D58EC #EC589D #E7EC58 #58ECA7
square
#5D58EC #EC589D #E7EC58 #58ECA7
split-complementary
#5D58EC #ECA758 #9DEC58
monochromatic
#1A15B5 #2821E6 #5D58EC #928FF2 #C8C6F9

Accessibility & contrast

On white

5.16
#5D58EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5D58EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D58EC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D58EC#FFFFFF#000000##FFFFFF
##5D58EC1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0067E9
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d58ec;
/* rgb */ color: rgb(93, 88, 236);
/* oklch */ color: oklch(55.4% 0.216 278.2);
Tailwind
colors: {
  custom: {
    50: '#9988f3',
    500: '#5d58ec',
    950: '#000000',
  },
}
SCSS
$custom: #5d58ec;
$custom-light: #9988f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58ec",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 242.027,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55392,
    "c": 0.21576,
    "h": 278.2
  },
  "luminance": 0.15363
}

Semantic roles & 50–950 ramp

primary
#5D58EC
secondary
#E8EAB6
accent
#DC0AD5
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D58EC

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

Preview Lab → · Contrast checker → · Palette generator →

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