#5D58DC#5D58DC

#5D58DC is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.1% C 0.195 H 279.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5D58DC
RGBrgb(93, 88, 220)
HSLhsl(242, 65%, 60%)
HSVhsv(242, 60%, 86%)
CMYKcmyk(57.7%, 60%, 0%, 13.7%)
CIE-LABlab(44.90, 39.36, -67.10)
CIE-LCHlch(44.90, 77.80, 300.40°)
OKLaboklab(54.12% 0.0316 -0.1928)
OKLCHoklch(54.12% 0.195 279.3)
XYZxyz(20.9181, 14.4725, 69.3874)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58DC #D7DC58
analogous
#5895DC #5D58DC #9F58DC
triadic
#5D58DC #DC5D58 #58DC5D
tetradic
#5D58DC #DC5895 #D7DC58 #58DC9F
square
#5D58DC #DC5895 #D7DC58 #58DC9F
split-complementary
#5D58DC #DC9F58 #95DC58
monochromatic
#252099 #312BCC #5D58DC #8E8BE7 #BFBDF1

Accessibility & contrast

On white

5.39
#5D58DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5D58DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D58DC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D58DC#FFFFFF#000000##FFFFFF
##5D58DC1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#077892
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d58dc;
/* rgb */ color: rgb(93, 88, 220);
/* oklch */ color: oklch(54.1% 0.195 279.3);
Tailwind
colors: {
  custom: {
    50: '#9687e8',
    500: '#5d58dc',
    950: '#000000',
  },
}
SCSS
$custom: #5d58dc;
$custom-light: #9687e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58dc",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 242.273,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54115,
    "c": 0.19538,
    "h": 279.3
  },
  "luminance": 0.14474
}

Semantic roles & 50–950 ramp

primary
#5D58DC
secondary
#DFE1AF
accent
#CD18C6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5D58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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