#5D58CD#5D58CD

#5D58CD is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.0% C 0.176 H 280.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5D58CD
RGBrgb(93, 88, 205)
HSLhsl(243, 54%, 57%)
HSVhsv(243, 57%, 80%)
CMYKcmyk(54.6%, 57.1%, 0%, 19.6%)
CIE-LABlab(43.82, 34.62, -60.28)
CIE-LCHlch(43.82, 69.51, 299.87°)
OKLaboklab(52.97% 0.0319 -0.1727)
OKLCHoklch(52.97% 0.176 280.5)
XYZxyz(19.0199, 13.7132, 59.3904)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58CD #C8CD58
analogous
#588ECD #5D58CD #9758CD
triadic
#5D58CD #CD5D58 #58CD5D
tetradic
#5D58CD #CD588E #C8CD58 #58CD97
square
#5D58CD #CD588E #C8CD58 #58CD97
split-complementary
#5D58CD #CD9758 #8ECD58
monochromatic
#2B2783 #3B35B2 #5D58CD #8B87DB #B8B6E9

Accessibility & contrast

On white

5.61
#5D58CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5D58CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D58CD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D58CD#FFFFFF#000000##FFFFFF
##5D58CD1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#28738A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d58cd;
/* rgb */ color: rgb(93, 88, 205);
/* oklch */ color: oklch(53.0% 0.176 280.5);
Tailwind
colors: {
  custom: {
    50: '#9487dd',
    500: '#5d58cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d58cd;
$custom-light: #9487dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58cd",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 242.564,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52973,
    "c": 0.17564,
    "h": 280.5
  },
  "luminance": 0.13714
}

Semantic roles & 50–950 ramp

primary
#5D58CD
secondary
#D6D8A9
accent
#DD4BD7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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