#5D58CC#5D58CC

#5D58CC is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.9% C 0.174 H 280.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5D58CC
RGBrgb(93, 88, 204)
HSLhsl(243, 53%, 57%)
HSVhsv(243, 57%, 80%)
CMYKcmyk(54.4%, 56.9%, 0%, 20%)
CIE-LABlab(43.75, 34.30, -59.81)
CIE-LCHlch(43.75, 68.95, 299.83°)
OKLaboklab(52.9% 0.0319 -0.1713)
OKLCHoklch(52.9% 0.174 280.6)
XYZxyz(18.8996, 13.6651, 58.7568)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58CC #C7CC58
analogous
#588DCC #5D58CC #9758CC
triadic
#5D58CC #CC5D58 #58CC5D
tetradic
#5D58CC #CC588D #C7CC58 #58CC97
square
#5D58CC #CC588D #C7CC58 #58CC97
split-complementary
#5D58CC #CC9758 #8DCC58
monochromatic
#2C2882 #3B36B1 #5D58CC #8A87DA #B8B6E9

Accessibility & contrast

On white

5.63
#5D58CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5D58CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D58CC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D58CC#FFFFFF#000000##FFFFFF
##5D58CC1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#297389
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d58cc;
/* rgb */ color: rgb(93, 88, 204);
/* oklch */ color: oklch(52.9% 0.174 280.6);
Tailwind
colors: {
  custom: {
    50: '#9487dc',
    500: '#5d58cc',
    950: '#000000',
  },
}
SCSS
$custom: #5d58cc;
$custom-light: #9487dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58cc",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 242.586,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52899,
    "c": 0.1743,
    "h": 280.6
  },
  "luminance": 0.13666
}

Semantic roles & 50–950 ramp

primary
#5D58CC
secondary
#D5D7A8
accent
#DD4BD6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D58CC

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

Preview Lab → · Contrast checker → · Palette generator →

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