#5B57ED#5B57ED

#5B57ED is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.2% C 0.219 H 277.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5B57ED
RGBrgb(91, 87, 237)
HSLhsl(242, 81%, 64%)
HSVhsv(242, 63%, 93%)
CMYKcmyk(61.6%, 63.3%, 0%, 7.1%)
CIE-LABlab(45.84, 45.03, -75.20)
CIE-LCHlch(45.84, 87.65, 300.91°)
OKLaboklab(55.18% 0.0291 -0.2166)
OKLCHoklch(55.18% 0.219 277.6)
XYZxyz(23.0037, 15.1532, 81.8170)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B57ED #E9ED57
analogous
#579EED #5B57ED #A657ED
triadic
#5B57ED #ED5B57 #57ED5B
tetradic
#5B57ED #ED579E #E9ED57 #57EDA6
square
#5B57ED #ED579E #E9ED57 #57EDA6
split-complementary
#5B57ED #EDA657 #9EED57
monochromatic
#1814B6 #2520E7 #5B57ED #918EF3 #C7C6F9

Accessibility & contrast

On white

5.21
#5B57ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5B57ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B57ED
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B57ED#FFFFFF#000000##FFFFFF
##5B57ED1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b57ed;
/* rgb */ color: rgb(91, 87, 237);
/* oklch */ color: oklch(55.2% 0.219 277.6);
Tailwind
colors: {
  custom: {
    50: '#9887f4',
    500: '#5b57ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b57ed;
$custom-light: #9887f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b57ed",
  "rgb": {
    "r": 91,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 241.6,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55175,
    "c": 0.21858,
    "h": 277.6
  },
  "luminance": 0.15155
}

Semantic roles & 50–950 ramp

primary
#5B57ED
secondary
#E9EAB5
accent
#DD09D7
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B57ED

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

Preview Lab → · Contrast checker → · Palette generator →

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