#5B57EA#5B57EA

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

Color values

HEX#5B57EA
RGBrgb(91, 87, 234)
HSLhsl(242, 78%, 63%)
HSVhsv(242, 63%, 92%)
CMYKcmyk(61.1%, 62.8%, 0%, 8.2%)
CIE-LABlab(45.61, 44.08, -73.90)
CIE-LCHlch(45.61, 86.04, 300.81°)
OKLaboklab(54.93% 0.0293 -0.2128)
OKLCHoklch(54.93% 0.215 277.8)
XYZxyz(22.5691, 14.9793, 79.5279)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B57EA #E6EA57
analogous
#579CEA #5B57EA #A557EA
triadic
#5B57EA #EA5B57 #57EA5B
tetradic
#5B57EA #EA579C #E6EA57 #57EAA5
square
#5B57EA #EA579C #E6EA57 #57EAA5
split-complementary
#5B57EA #EAA557 #9CEA57
monochromatic
#1A16B1 #2621E3 #5B57EA #908DF1 #C5C4F8

Accessibility & contrast

On white

5.25
#5B57EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5B57EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B57EA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B57EA#FFFFFF#000000##FFFFFF
##5B57EA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b57ea;
/* rgb */ color: rgb(91, 87, 234);
/* oklch */ color: oklch(54.9% 0.215 277.8);
Tailwind
colors: {
  custom: {
    50: '#9887f2',
    500: '#5b57ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b57ea;
$custom-light: #9887f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b57ea",
  "rgb": {
    "r": 91,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 241.633,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54928,
    "c": 0.21483,
    "h": 277.8
  },
  "luminance": 0.14981
}

Semantic roles & 50–950 ramp

primary
#5B57EA
secondary
#E7E9B4
accent
#DA0BD4
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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