#5D57EC#5D57EC

#5D57EC is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.2% C 0.217 H 278.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5D57EC
RGBrgb(93, 87, 236)
HSLhsl(242, 80%, 63%)
HSVhsv(242, 63%, 93%)
CMYKcmyk(60.6%, 63.1%, 0%, 7.5%)
CIE-LABlab(45.90, 45.01, -74.53)
CIE-LCHlch(45.90, 87.07, 301.13°)
OKLaboklab(55.23% 0.0315 -0.2146)
OKLCHoklch(55.23% 0.217 278.4)
XYZxyz(23.0579, 15.1979, 81.0590)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57EC #E6EC57
analogous
#579BEC #5D57EC #A757EC
triadic
#5D57EC #EC5D57 #57EC5D
tetradic
#5D57EC #EC579B #E6EC57 #57ECA7
square
#5D57EC #EC579B #E6EC57 #57ECA7
split-complementary
#5D57EC #ECA757 #9BEC57
monochromatic
#1B14B4 #2820E6 #5D57EC #928EF2 #C7C5F8

Accessibility & contrast

On white

5.20
#5D57EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5D57EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57EC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57EC#FFFFFF#000000##FFFFFF
##5D57EC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0067E9
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d57ec;
/* rgb */ color: rgb(93, 87, 236);
/* oklch */ color: oklch(55.2% 0.217 278.4);
Tailwind
colors: {
  custom: {
    50: '#9987f3',
    500: '#5d57ec',
    950: '#000000',
  },
}
SCSS
$custom: #5d57ec;
$custom-light: #9987f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57ec",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 242.416,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55231,
    "c": 0.21694,
    "h": 278.4
  },
  "luminance": 0.152
}

Semantic roles & 50–950 ramp

primary
#5D57EC
secondary
#E8EAB5
accent
#DC0AD4
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D57EC

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

Preview Lab → · Contrast checker → · Palette generator →

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