#5E57D2#5E57D2

#5E57D2 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.2% C 0.183 H 280.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5E57D2
RGBrgb(94, 87, 210)
HSLhsl(243, 58%, 58%)
HSVhsv(243, 59%, 82%)
CMYKcmyk(55.2%, 58.6%, 0%, 17.6%)
CIE-LABlab(44.01, 36.99, -62.83)
CIE-LCHlch(44.01, 72.91, 300.48°)
OKLaboklab(53.25% 0.0341 -0.1802)
OKLCHoklch(53.25% 0.183 280.7)
XYZxyz(19.6535, 13.8480, 62.5976)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E57D2 #CBD257
analogous
#578DD2 #5E57D2 #9B57D2
triadic
#5E57D2 #D25E57 #57D25E
tetradic
#5E57D2 #D2578D #CBD257 #57D29B
square
#5E57D2 #D2578D #CBD257 #57D29B
split-complementary
#5E57D2 #D29B57 #8DD257
monochromatic
#2B258A #3A32BA #5E57D2 #8C87DF #BBB8EC

Accessibility & contrast

On white

5.57
#5E57D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5E57D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E57D2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E57D2#FFFFFF#000000##FFFFFF
##5E57D21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#24748C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5e57d2;
/* rgb */ color: rgb(94, 87, 210);
/* oklch */ color: oklch(53.2% 0.183 280.7);
Tailwind
colors: {
  custom: {
    50: '#9587e1',
    500: '#5e57d2',
    950: '#000000',
  },
}
SCSS
$custom: #5e57d2;
$custom-light: #9587e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e57d2",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 243.415,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53249,
    "c": 0.1834,
    "h": 280.7
  },
  "luminance": 0.13849
}

Semantic roles & 50–950 ramp

primary
#5E57D2
secondary
#D8DBAA
accent
#E147D8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E57D2

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

Preview Lab → · Contrast checker → · Palette generator →

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