#5D58CB#5D58CB

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

Color values

HEX#5D58CB
RGBrgb(93, 88, 203)
HSLhsl(243, 53%, 57%)
HSVhsv(243, 57%, 80%)
CMYKcmyk(54.2%, 56.7%, 0%, 20.4%)
CIE-LABlab(43.68, 33.98, -59.35)
CIE-LCHlch(43.68, 68.39, 299.80°)
OKLaboklab(52.83% 0.0319 -0.17)
OKLCHoklch(52.83% 0.173 280.6)
XYZxyz(18.7801, 13.6172, 58.1271)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58CB #C6CB58
analogous
#588CCB #5D58CB #9758CB
triadic
#5D58CB #CB5D58 #58CB5D
tetradic
#5D58CB #CB588C #C6CB58 #58CB97
square
#5D58CB #CB588C #C6CB58 #58CB97
split-complementary
#5D58CB #CB9758 #8CCB58
monochromatic
#2C2881 #3C37AF #5D58CB #8A87DA #B8B5E8

Accessibility & contrast

On white

5.64
#5D58CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5D58CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D58CB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D58CB#FFFFFF#000000##FFFFFF
##5D58CB1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#2A7389
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d58cb;
/* rgb */ color: rgb(93, 88, 203);
/* oklch */ color: oklch(52.8% 0.173 280.6);
Tailwind
colors: {
  custom: {
    50: '#9487dc',
    500: '#5d58cb',
    950: '#000000',
  },
}
SCSS
$custom: #5d58cb;
$custom-light: #9487dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58cb",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 242.609,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52825,
    "c": 0.17296,
    "h": 280.6
  },
  "luminance": 0.13618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D58CB

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

Preview Lab → · Contrast checker → · Palette generator →

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