#5B58DD#5B58DD

#5B58DD is a mid, vivid blue. Relative luminance 0.144; OKLCH L 54.0% C 0.197 H 278.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5B58DD
RGBrgb(91, 88, 221)
HSLhsl(241, 66%, 61%)
HSVhsv(241, 60%, 87%)
CMYKcmyk(58.8%, 60.2%, 0%, 13.3%)
CIE-LABlab(44.83, 39.34, -67.79)
CIE-LCHlch(44.83, 78.38, 300.13°)
OKLaboklab(54.05% 0.0292 -0.1949)
OKLCHoklch(54.05% 0.197 278.5)
XYZxyz(20.8511, 14.4225, 70.0777)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B58DD #DADD58
analogous
#5898DD #5B58DD #9D58DD
triadic
#5B58DD #DD5B58 #58DD5B
tetradic
#5B58DD #DD5898 #DADD58 #58DD9D
square
#5B58DD #DD5898 #DADD58 #58DD9D
split-complementary
#5B58DD #DD9D58 #98DD58
monochromatic
#22209B #2E2ACE #5B58DD #8D8BE7 #BFBEF2

Accessibility & contrast

On white

5.41
#5B58DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5B58DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B58DD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B58DD#FFFFFF#000000##FFFFFF
##5B58DD1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5b58dd;
/* rgb */ color: rgb(91, 88, 221);
/* oklch */ color: oklch(54.0% 0.197 278.5);
Tailwind
colors: {
  custom: {
    50: '#9587e8',
    500: '#5b58dd',
    950: '#000000',
  },
}
SCSS
$custom: #5b58dd;
$custom-light: #9587e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b58dd",
  "rgb": {
    "r": 91,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 241.353,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5405,
    "c": 0.19705,
    "h": 278.5
  },
  "luminance": 0.14424
}

Semantic roles & 50–950 ramp

primary
#5B58DD
secondary
#E1E2AF
accent
#CE17CA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5B58DD

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

Preview Lab → · Contrast checker → · Palette generator →

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