#5D58CA#5D58CA

#5D58CA is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.172 H 280.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5D58CA
RGBrgb(93, 88, 202)
HSLhsl(243, 52%, 57%)
HSVhsv(243, 56%, 79%)
CMYKcmyk(54%, 56.4%, 0%, 20.8%)
CIE-LABlab(43.61, 33.67, -58.89)
CIE-LCHlch(43.61, 67.83, 299.76°)
OKLaboklab(52.75% 0.0319 -0.1686)
OKLCHoklch(52.75% 0.172 280.7)
XYZxyz(18.6613, 13.5697, 57.5015)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58CA #C5CA58
analogous
#588CCA #5D58CA #9658CA
triadic
#5D58CA #CA5D58 #58CA5D
tetradic
#5D58CA #CA588C #C5CA58 #58CA96
square
#5D58CA #CA588C #C5CA58 #58CA96
split-complementary
#5D58CA #CA9658 #8CCA58
monochromatic
#2C287F #3C37AE #5D58CA #8A86D9 #B7B5E7

Accessibility & contrast

On white

5.65
#5D58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5D58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D58CA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D58CA#FFFFFF#000000##FFFFFF
##5D58CA1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#2B7288
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d58ca;
/* rgb */ color: rgb(93, 88, 202);
/* oklch */ color: oklch(52.8% 0.172 280.7);
Tailwind
colors: {
  custom: {
    50: '#9487db',
    500: '#5d58ca',
    950: '#000000',
  },
}
SCSS
$custom: #5d58ca;
$custom-light: #9487db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58ca",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 242.632,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52751,
    "c": 0.17162,
    "h": 280.7
  },
  "luminance": 0.13571
}

Semantic roles & 50–950 ramp

primary
#5D58CA
secondary
#D4D6A8
accent
#DB4DD5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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