#5D58D5#5D58D5

#5D58D5 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.6% C 0.186 H 279.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5D58D5
RGBrgb(93, 88, 213)
HSLhsl(242, 60%, 59%)
HSVhsv(242, 59%, 84%)
CMYKcmyk(56.3%, 58.7%, 0%, 16.5%)
CIE-LABlab(44.39, 37.15, -63.94)
CIE-LCHlch(44.39, 73.95, 300.15°)
OKLaboklab(53.58% 0.0318 -0.1835)
OKLCHoklch(53.58% 0.186 279.8)
XYZxyz(20.0104, 14.1094, 64.6068)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58D5 #D0D558
analogous
#5892D5 #5D58D5 #9C58D5
triadic
#5D58D5 #D55D58 #58D55D
tetradic
#5D58D5 #D55892 #D0D558 #58D59C
square
#5D58D5 #D55892 #D0D558 #58D59C
split-complementary
#5D58D5 #D59C58 #92D558
monochromatic
#28248F #3630C0 #5D58D5 #8C89E1 #BCBAEE

Accessibility & contrast

On white

5.49
#5D58D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5D58D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D58D5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D58D5#FFFFFF#000000##FFFFFF
##5D58D51.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#0064D2
Tritanopia (blue-blind)
#1B768E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d58d5;
/* rgb */ color: rgb(93, 88, 213);
/* oklch */ color: oklch(53.6% 0.186 279.8);
Tailwind
colors: {
  custom: {
    50: '#9587e3',
    500: '#5d58d5',
    950: '#000000',
  },
}
SCSS
$custom: #5d58d5;
$custom-light: #9587e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58d5",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 213
  },
  "hsl": {
    "h": 242.4,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53575,
    "c": 0.18624,
    "h": 279.8
  },
  "luminance": 0.14111
}

Semantic roles & 50–950 ramp

primary
#5D58D5
secondary
#DBDDAC
accent
#E345DD
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B15
muted
#7E7C84

Preview Lab

Preview with #5D58D5

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

Preview Lab → · Contrast checker → · Palette generator →

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