#5D57E9#5D57E9

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

Color values

HEX#5D57E9
RGBrgb(93, 87, 233)
HSLhsl(242, 77%, 63%)
HSVhsv(242, 63%, 91%)
CMYKcmyk(60.1%, 62.7%, 0%, 8.6%)
CIE-LABlab(45.67, 44.07, -73.23)
CIE-LCHlch(45.67, 85.46, 301.04°)
OKLaboklab(54.99% 0.0318 -0.2108)
OKLCHoklch(54.99% 0.213 278.6)
XYZxyz(22.6257, 15.0250, 78.7828)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57E9 #E3E957
analogous
#579AE9 #5D57E9 #A657E9
triadic
#5D57E9 #E95D57 #57E95D
tetradic
#5D57E9 #E9579A #E3E957 #57E9A6
square
#5D57E9 #E9579A #E3E957 #57E9A6
split-complementary
#5D57E9 #E9A657 #9AE957
monochromatic
#1D17AF #2921E2 #5D57E9 #918DF0 #C5C3F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D57E9#FFFFFF#000000##FFFFFF
##5D57E91.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)
#0072EE
Deuteranopia (green-blind)
#0066E6
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d57e9;
/* rgb */ color: rgb(93, 87, 233);
/* oklch */ color: oklch(55.0% 0.213 278.6);
Tailwind
colors: {
  custom: {
    50: '#9887f1',
    500: '#5d57e9',
    950: '#000000',
  },
}
SCSS
$custom: #5d57e9;
$custom-light: #9887f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57e9",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 242.466,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54986,
    "c": 0.21317,
    "h": 278.6
  },
  "luminance": 0.15027
}

Semantic roles & 50–950 ramp

primary
#5D57E9
secondary
#E6E8B3
accent
#D90CD1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D57E9

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

Preview Lab → · Contrast checker → · Palette generator →

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