#5B58D8#5B58D8

#5B58D8 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.7% C 0.191 H 278.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5B58D8
RGBrgb(91, 88, 216)
HSLhsl(241, 62%, 60%)
HSVhsv(241, 59%, 85%)
CMYKcmyk(57.9%, 59.3%, 0%, 15.3%)
CIE-LABlab(44.46, 37.75, -65.55)
CIE-LCHlch(44.46, 75.64, 299.94°)
OKLaboklab(53.66% 0.0294 -0.1883)
OKLCHoklch(53.66% 0.191 278.9)
XYZxyz(20.1948, 14.1600, 66.6214)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B58D8 #D5D858
analogous
#5895D8 #5B58D8 #9B58D8
triadic
#5B58D8 #D85B58 #58D85B
tetradic
#5B58D8 #D85895 #D5D858 #58D89B
square
#5B58D8 #D85895 #D5D858 #58D89B
split-complementary
#5B58D8 #D89B58 #95D858
monochromatic
#252293 #322EC5 #5B58D8 #8C8AE4 #BCBBEF

Accessibility & contrast

On white

5.48
#5B58D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5B58D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B58D8
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B58D8#FFFFFF#000000##FFFFFF
##5B58D81.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#0064D5
Tritanopia (blue-blind)
#04778F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b58d8;
/* rgb */ color: rgb(91, 88, 216);
/* oklch */ color: oklch(53.7% 0.191 278.9);
Tailwind
colors: {
  custom: {
    50: '#9587e5',
    500: '#5b58d8',
    950: '#000000',
  },
}
SCSS
$custom: #5b58d8;
$custom-light: #9587e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b58d8",
  "rgb": {
    "r": 91,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 241.406,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5366,
    "c": 0.19056,
    "h": 278.9
  },
  "luminance": 0.14161
}

Semantic roles & 50–950 ramp

primary
#5B58D8
secondary
#DEDFAD
accent
#E543E1
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5B58D8

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

Preview Lab → · Contrast checker → · Palette generator →

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