#5D58D2#5D58D2

#5D58D2 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.3% C 0.182 H 280.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5D58D2
RGBrgb(93, 88, 210)
HSLhsl(242, 58%, 58%)
HSVhsv(242, 58%, 82%)
CMYKcmyk(55.7%, 58.1%, 0%, 17.6%)
CIE-LABlab(44.17, 36.20, -62.57)
CIE-LCHlch(44.17, 72.29, 300.05°)
OKLaboklab(53.35% 0.0319 -0.1795)
OKLCHoklch(53.35% 0.182 280.1)
XYZxyz(19.6331, 13.9585, 62.6200)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58D2 #CDD258
analogous
#5890D2 #5D58D2 #9A58D2
triadic
#5D58D2 #D25D58 #58D25D
tetradic
#5D58D2 #D25890 #CDD258 #58D29A
square
#5D58D2 #D25890 #CDD258 #58D29A
split-complementary
#5D58D2 #D29A58 #90D258
monochromatic
#29258A #3832BB #5D58D2 #8C88DF #BBB8EC

Accessibility & contrast

On white

5.54
#5D58D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5D58D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D58D2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D58D2#FFFFFF#000000##FFFFFF
##5D58D21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#20758C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d58d2;
/* rgb */ color: rgb(93, 88, 210);
/* oklch */ color: oklch(53.3% 0.182 280.1);
Tailwind
colors: {
  custom: {
    50: '#9587e1',
    500: '#5d58d2',
    950: '#000000',
  },
}
SCSS
$custom: #5d58d2;
$custom-light: #9587e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58d2",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 242.459,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53347,
    "c": 0.18229,
    "h": 280.1
  },
  "luminance": 0.1396
}

Semantic roles & 50–950 ramp

primary
#5D58D2
secondary
#D9DBAB
accent
#E147DA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D58D2

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

Preview Lab → · Contrast checker → · Palette generator →

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