#5D57E8#5D57E8

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

Color values

HEX#5D57E8
RGBrgb(93, 87, 232)
HSLhsl(242, 76%, 63%)
HSVhsv(242, 63%, 91%)
CMYKcmyk(59.9%, 62.5%, 0%, 9%)
CIE-LABlab(45.59, 43.75, -72.79)
CIE-LCHlch(45.59, 84.92, 301.01°)
OKLaboklab(54.91% 0.0319 -0.2095)
OKLCHoklch(54.91% 0.212 278.6)
XYZxyz(22.4832, 14.9681, 78.0326)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57E8 #E2E857
analogous
#5799E8 #5D57E8 #A657E8
triadic
#5D57E8 #E85D57 #57E85D
tetradic
#5D57E8 #E85799 #E2E857 #57E8A6
square
#5D57E8 #E85799 #E2E857 #57E8A6
split-complementary
#5D57E8 #E8A657 #99E857
monochromatic
#1E18AD #2921E1 #5D57E8 #918DEF #C5C3F7

Accessibility & contrast

On white

5.26
#5D57E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5D57E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57E8
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57E8#FFFFFF#000000##FFFFFF
##5D57E81.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d57e8;
/* rgb */ color: rgb(93, 87, 232);
/* oklch */ color: oklch(54.9% 0.212 278.6);
Tailwind
colors: {
  custom: {
    50: '#9887f0',
    500: '#5d57e8',
    950: '#000000',
  },
}
SCSS
$custom: #5d57e8;
$custom-light: #9887f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57e8",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 242.483,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54905,
    "c": 0.21192,
    "h": 278.6
  },
  "luminance": 0.1497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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