#5D57E4#5D57E4

#5D57E4 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.6% C 0.207 H 278.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5D57E4
RGBrgb(93, 87, 228)
HSLhsl(243, 72%, 62%)
HSVhsv(243, 62%, 89%)
CMYKcmyk(59.2%, 61.8%, 0%, 10.6%)
CIE-LABlab(45.28, 42.49, -71.03)
CIE-LCHlch(45.28, 82.77, 300.89°)
OKLaboklab(54.58% 0.0321 -0.2043)
OKLCHoklch(54.58% 0.207 278.9)
XYZxyz(21.9215, 14.7434, 75.0743)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57E4 #DEE457
analogous
#5798E4 #5D57E4 #A457E4
triadic
#5D57E4 #E45D57 #57E45D
tetradic
#5D57E4 #E45798 #DEE457 #57E4A4
square
#5D57E4 #E45798 #DEE457 #57E4A4
split-complementary
#5D57E4 #E4A457 #98E457
monochromatic
#211BA6 #2B23DB #5D57E4 #908CEC #C3C0F5

Accessibility & contrast

On white

5.32
#5D57E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5D57E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57E4
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57E4#FFFFFF#000000##FFFFFF
##5D57E41.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#0066E1
Tritanopia (blue-blind)
#007A95
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d57e4;
/* rgb */ color: rgb(93, 87, 228);
/* oklch */ color: oklch(54.6% 0.207 278.9);
Tailwind
colors: {
  custom: {
    50: '#9887ee',
    500: '#5d57e4',
    950: '#000000',
  },
}
SCSS
$custom: #5d57e4;
$custom-light: #9887ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57e4",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 242.553,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54582,
    "c": 0.20686,
    "h": 278.9
  },
  "luminance": 0.14745
}

Semantic roles & 50–950 ramp

primary
#5D57E4
secondary
#E3E6B1
accent
#D411CC
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5D57E4

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

Preview Lab → · Contrast checker → · Palette generator →

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