#5B58DA#5B58DA

#5B58DA is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.8% C 0.193 H 278.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5B58DA
RGBrgb(91, 88, 218)
HSLhsl(241, 64%, 60%)
HSVhsv(241, 60%, 85%)
CMYKcmyk(58.3%, 59.6%, 0%, 14.5%)
CIE-LABlab(44.61, 38.39, -66.45)
CIE-LCHlch(44.61, 76.74, 300.01°)
OKLaboklab(53.82% 0.0293 -0.1909)
OKLCHoklch(53.82% 0.193 278.7)
XYZxyz(20.4550, 14.2641, 67.9914)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B58DA #D7DA58
analogous
#5896DA #5B58DA #9C58DA
triadic
#5B58DA #DA5B58 #58DA5B
tetradic
#5B58DA #DA5896 #D7DA58 #58DA9C
square
#5B58DA #DA5896 #D7DA58 #58DA9C
split-complementary
#5B58DA #DA9C58 #96DA58
monochromatic
#242196 #302CC8 #5B58DA #8C8AE5 #BDBCF0

Accessibility & contrast

On white

5.45
#5B58DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5B58DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B58DA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B58DA#FFFFFF#000000##FFFFFF
##5B58DA1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b58da;
/* rgb */ color: rgb(91, 88, 218);
/* oklch */ color: oklch(53.8% 0.193 278.7);
Tailwind
colors: {
  custom: {
    50: '#9587e6',
    500: '#5b58da',
    950: '#000000',
  },
}
SCSS
$custom: #5b58da;
$custom-light: #9587e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b58da",
  "rgb": {
    "r": 91,
    "g": 88,
    "b": 218
  },
  "hsl": {
    "h": 241.385,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.53815,
    "c": 0.19317,
    "h": 278.7
  },
  "luminance": 0.14266
}

Semantic roles & 50–950 ramp

primary
#5B58DA
secondary
#DFE0AE
accent
#E741E3
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5B58DA

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

Preview Lab → · Contrast checker → · Palette generator →

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