#5B57DD#5B57DD

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

Color values

HEX#5B57DD
RGBrgb(91, 87, 221)
HSLhsl(242, 66%, 60%)
HSVhsv(242, 61%, 87%)
CMYKcmyk(58.8%, 60.6%, 0%, 13.3%)
CIE-LABlab(44.60, 39.94, -68.17)
CIE-LCHlch(44.60, 79.01, 300.37°)
OKLaboklab(53.88% 0.0301 -0.196)
OKLCHoklch(53.88% 0.198 278.7)
XYZxyz(20.7696, 14.2595, 70.0505)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B57DD #D9DD57
analogous
#5796DD #5B57DD #9E57DD
triadic
#5B57DD #DD5B57 #57DD5B
tetradic
#5B57DD #DD5796 #D9DD57 #57DD9E
square
#5B57DD #DD5796 #D9DD57 #57DD9E
split-complementary
#5B57DD #DD9E57 #96DD57
monochromatic
#231F9A #2E2ACD #5B57DD #8D8AE7 #BEBDF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B57DD#FFFFFF#000000##FFFFFF
##5B57DD1.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)
#006FE1
Deuteranopia (green-blind)
#0064DA
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b57dd;
/* rgb */ color: rgb(91, 87, 221);
/* oklch */ color: oklch(53.9% 0.198 278.7);
Tailwind
colors: {
  custom: {
    50: '#9587e9',
    500: '#5b57dd',
    950: '#000000',
  },
}
SCSS
$custom: #5b57dd;
$custom-light: #9587e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b57dd",
  "rgb": {
    "r": 91,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 241.791,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53881,
    "c": 0.19829,
    "h": 278.7
  },
  "luminance": 0.14261
}

Semantic roles & 50–950 ramp

primary
#5B57DD
secondary
#E0E1AE
accent
#CE17C9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5B57DD

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

Preview Lab → · Contrast checker → · Palette generator →

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