#5B58ED#5B58ED

#5B58ED is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.3% C 0.217 H 277.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5B58ED
RGBrgb(91, 88, 237)
HSLhsl(241, 81%, 64%)
HSVhsv(241, 63%, 93%)
CMYKcmyk(61.6%, 62.9%, 0%, 7.1%)
CIE-LABlab(46.06, 44.44, -74.84)
CIE-LCHlch(46.06, 87.04, 300.70°)
OKLaboklab(55.34% 0.0283 -0.2156)
OKLCHoklch(55.34% 0.217 277.5)
XYZxyz(23.0852, 15.3162, 81.8441)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B58ED #EAED58
analogous
#589FED #5B58ED #A558ED
triadic
#5B58ED #ED5B58 #58ED5B
tetradic
#5B58ED #ED589F #EAED58 #58EDA5
square
#5B58ED #ED589F #EAED58 #58EDA5
split-complementary
#5B58ED #EDA558 #9FED58
monochromatic
#1714B7 #2521E7 #5B58ED #918FF3 #C8C6F9

Accessibility & contrast

On white

5.17
#5B58ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5B58ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B58ED
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B58ED#FFFFFF#000000##FFFFFF
##5B58ED1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F2
Deuteranopia (green-blind)
#0067EA
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b58ed;
/* rgb */ color: rgb(91, 88, 237);
/* oklch */ color: oklch(55.3% 0.217 277.5);
Tailwind
colors: {
  custom: {
    50: '#9888f4',
    500: '#5b58ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b58ed;
$custom-light: #9888f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b58ed",
  "rgb": {
    "r": 91,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 241.208,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55337,
    "c": 0.21743,
    "h": 277.5
  },
  "luminance": 0.15318
}

Semantic roles & 50–950 ramp

primary
#5B58ED
secondary
#EAEBB6
accent
#DD09D9
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B58ED

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

Preview Lab → · Contrast checker → · Palette generator →

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