#5D58E7#5D58E7

#5D58E7 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.0% C 0.209 H 278.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5D58E7
RGBrgb(93, 88, 231)
HSLhsl(242, 75%, 63%)
HSVhsv(242, 62%, 91%)
CMYKcmyk(59.7%, 61.9%, 0%, 9.4%)
CIE-LABlab(45.74, 42.85, -71.99)
CIE-LCHlch(45.74, 83.77, 300.76°)
OKLaboklab(54.99% 0.0311 -0.2071)
OKLCHoklch(54.99% 0.209 278.5)
XYZxyz(22.4231, 15.0745, 77.3139)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58E7 #E2E758
analogous
#589AE7 #5D58E7 #A558E7
triadic
#5D58E7 #E75D58 #58E75D
tetradic
#5D58E7 #E7589A #E2E758 #58E7A5
square
#5D58E7 #E7589A #E2E758 #58E7A5
split-complementary
#5D58E7 #E7A558 #9AE758
monochromatic
#1E19AC #2922DF #5D58E7 #918EEF #C5C3F6

Accessibility & contrast

On white

5.23
#5D58E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5D58E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D58E7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D58E7#FFFFFF#000000##FFFFFF
##5D58E71.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#0066E4
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d58e7;
/* rgb */ color: rgb(93, 88, 231);
/* oklch */ color: oklch(55.0% 0.209 278.5);
Tailwind
colors: {
  custom: {
    50: '#9888f0',
    500: '#5d58e7',
    950: '#000000',
  },
}
SCSS
$custom: #5d58e7;
$custom-light: #9888f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58e7",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 242.098,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54987,
    "c": 0.20947,
    "h": 278.5
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

primary
#5D58E7
secondary
#E6E7B3
accent
#D70ED0
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D58E7

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

Preview Lab → · Contrast checker → · Palette generator →

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