#5D58ED#5D58ED

#5D58ED is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.5% C 0.217 H 278.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5D58ED
RGBrgb(93, 88, 237)
HSLhsl(242, 81%, 64%)
HSVhsv(242, 63%, 93%)
CMYKcmyk(60.8%, 62.9%, 0%, 7.1%)
CIE-LABlab(46.20, 44.74, -74.61)
CIE-LCHlch(46.20, 87.00, 300.95°)
OKLaboklab(55.47% 0.0306 -0.2148)
OKLCHoklch(55.47% 0.217 278.1)
XYZxyz(23.2851, 15.4192, 81.8535)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58ED #E8ED58
analogous
#589DED #5D58ED #A758ED
triadic
#5D58ED #ED5D58 #58ED5D
tetradic
#5D58ED #ED589D #E8ED58 #58EDA7
square
#5D58ED #ED589D #E8ED58 #58EDA7
split-complementary
#5D58ED #EDA758 #9DED58
monochromatic
#1914B7 #2721E7 #5D58ED #938FF3 #C8C6F9

Accessibility & contrast

On white

5.14
#5D58ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D58ED
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D58ED#FFFFFF#000000##FFFFFF
##5D58ED1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#0067EA
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d58ed;
/* rgb */ color: rgb(93, 88, 237);
/* oklch */ color: oklch(55.5% 0.217 278.1);
Tailwind
colors: {
  custom: {
    50: '#9988f4',
    500: '#5d58ed',
    950: '#000000',
  },
}
SCSS
$custom: #5d58ed;
$custom-light: #9988f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58ed",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 242.013,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55474,
    "c": 0.21701,
    "h": 278.1
  },
  "luminance": 0.15421
}

Semantic roles & 50–950 ramp

primary
#5D58ED
secondary
#E9EBB6
accent
#DD09D6
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D58ED

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

Preview Lab → · Contrast checker → · Palette generator →

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