#5B57E9#5B57E9

#5B57E9 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.8% C 0.214 H 277.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5B57E9
RGBrgb(91, 87, 233)
HSLhsl(242, 77%, 63%)
HSVhsv(242, 63%, 91%)
CMYKcmyk(60.9%, 62.7%, 0%, 8.6%)
CIE-LABlab(45.53, 43.76, -73.46)
CIE-LCHlch(45.53, 85.51, 300.78°)
OKLaboklab(54.85% 0.0294 -0.2115)
OKLCHoklch(54.85% 0.214 277.9)
XYZxyz(22.4258, 14.9220, 78.7735)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B57E9 #E5E957
analogous
#579CE9 #5B57E9 #A457E9
triadic
#5B57E9 #E95B57 #57E95B
tetradic
#5B57E9 #E9579C #E5E957 #57E9A4
square
#5B57E9 #E9579C #E5E957 #57E9A4
split-complementary
#5B57E9 #E9A457 #9CE957
monochromatic
#1B17AF #2621E2 #5B57E9 #908DF0 #C5C3F7

Accessibility & contrast

On white

5.27
#5B57E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5B57E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B57E9
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B57E9#FFFFFF#000000##FFFFFF
##5B57E91.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#0066E6
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b57e9;
/* rgb */ color: rgb(91, 87, 233);
/* oklch */ color: oklch(54.8% 0.214 277.9);
Tailwind
colors: {
  custom: {
    50: '#9787f1',
    500: '#5b57e9',
    950: '#000000',
  },
}
SCSS
$custom: #5b57e9;
$custom-light: #9787f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b57e9",
  "rgb": {
    "r": 91,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 241.644,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54847,
    "c": 0.21357,
    "h": 277.9
  },
  "luminance": 0.14924
}

Semantic roles & 50–950 ramp

primary
#5B57E9
secondary
#E7E8B3
accent
#D90CD3
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B57E9

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

Preview Lab → · Contrast checker → · Palette generator →

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