#5D57EA#5D57EA

#5D57EA is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.1% C 0.214 H 278.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5D57EA
RGBrgb(93, 87, 234)
HSLhsl(242, 78%, 63%)
HSVhsv(242, 63%, 92%)
CMYKcmyk(60.3%, 62.8%, 0%, 8.2%)
CIE-LABlab(45.75, 44.38, -73.66)
CIE-LCHlch(45.75, 86.00, 301.07°)
OKLaboklab(55.07% 0.0317 -0.2121)
OKLCHoklch(55.07% 0.214 278.5)
XYZxyz(22.7689, 15.0823, 79.5373)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57EA #E4EA57
analogous
#579AEA #5D57EA #A657EA
triadic
#5D57EA #EA5D57 #57EA5D
tetradic
#5D57EA #EA579A #E4EA57 #57EAA6
square
#5D57EA #EA579A #E4EA57 #57EAA6
split-complementary
#5D57EA #EAA657 #9AEA57
monochromatic
#1C16B1 #2921E3 #5D57EA #918DF1 #C6C4F8

Accessibility & contrast

On white

5.23
#5D57EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5D57EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57EA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57EA#FFFFFF#000000##FFFFFF
##5D57EA1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0066E7
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d57ea;
/* rgb */ color: rgb(93, 87, 234);
/* oklch */ color: oklch(55.1% 0.214 278.5);
Tailwind
colors: {
  custom: {
    50: '#9987f2',
    500: '#5d57ea',
    950: '#000000',
  },
}
SCSS
$custom: #5d57ea;
$custom-light: #9987f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57ea",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 242.449,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55067,
    "c": 0.21443,
    "h": 278.5
  },
  "luminance": 0.15084
}

Semantic roles & 50–950 ramp

primary
#5D57EA
secondary
#E7E9B4
accent
#DA0BD2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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