#5B57EB#5B57EB

#5B57EB is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.0% C 0.216 H 277.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5B57EB
RGBrgb(91, 87, 235)
HSLhsl(242, 79%, 63%)
HSVhsv(242, 63%, 92%)
CMYKcmyk(61.3%, 63%, 0%, 7.8%)
CIE-LABlab(45.68, 44.39, -74.33)
CIE-LCHlch(45.68, 86.58, 300.85°)
OKLaboklab(55.01% 0.0292 -0.2141)
OKLCHoklch(55.01% 0.216 277.8)
XYZxyz(22.7131, 15.0369, 80.2867)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B57EB #E7EB57
analogous
#579DEB #5B57EB #A557EB
triadic
#5B57EB #EB5B57 #57EB5B
tetradic
#5B57EB #EB579D #E7EB57 #57EBA5
square
#5B57EB #EB579D #E7EB57 #57EBA5
split-complementary
#5B57EB #EBA557 #9DEB57
monochromatic
#1915B2 #2620E4 #5B57EB #908EF2 #C6C4F8

Accessibility & contrast

On white

5.24
#5B57EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5B57EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B57EB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B57EB#FFFFFF#000000##FFFFFF
##5B57EB1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0066E8
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b57eb;
/* rgb */ color: rgb(91, 87, 235);
/* oklch */ color: oklch(55.0% 0.216 277.8);
Tailwind
colors: {
  custom: {
    50: '#9887f2',
    500: '#5b57eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b57eb;
$custom-light: #9887f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b57eb",
  "rgb": {
    "r": 91,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 241.622,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55011,
    "c": 0.21608,
    "h": 277.8
  },
  "luminance": 0.15039
}

Semantic roles & 50–950 ramp

primary
#5B57EB
secondary
#E8E9B4
accent
#DB0AD5
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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