#5E57DC#5E57DC

#5E57DC is a mid, vivid blue. Relative luminance 0.144; OKLCH L 54.0% C 0.196 H 279.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5E57DC
RGBrgb(94, 87, 220)
HSLhsl(243, 66%, 60%)
HSVhsv(243, 60%, 86%)
CMYKcmyk(57.3%, 60.5%, 0%, 13.7%)
CIE-LABlab(44.75, 40.13, -67.35)
CIE-LCHlch(44.75, 78.40, 300.79°)
OKLaboklab(54.02% 0.0338 -0.1935)
OKLCHoklch(54.02% 0.196 279.9)
XYZxyz(20.9385, 14.3620, 69.3650)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E57DC #D5DC57
analogous
#5792DC #5E57DC #A157DC
triadic
#5E57DC #DC5E57 #57DC5E
tetradic
#5E57DC #DC5792 #D5DC57 #57DCA1
square
#5E57DC #DC5792 #D5DC57 #57DCA1
split-complementary
#5E57DC #DCA157 #92DC57
monochromatic
#262099 #332ACB #5E57DC #8F8AE7 #BFBCF1

Accessibility & contrast

On white

5.42
#5E57DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5E57DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E57DC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E57DC#FFFFFF#000000##FFFFFF
##5E57DC1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#107791
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e57dc;
/* rgb */ color: rgb(94, 87, 220);
/* oklch */ color: oklch(54.0% 0.196 279.9);
Tailwind
colors: {
  custom: {
    50: '#9787e8',
    500: '#5e57dc',
    950: '#000000',
  },
}
SCSS
$custom: #5e57dc;
$custom-light: #9787e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e57dc",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 243.158,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5402,
    "c": 0.19643,
    "h": 279.9
  },
  "luminance": 0.14363
}

Semantic roles & 50–950 ramp

primary
#5E57DC
secondary
#DEE1AE
accent
#CD18C4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5E57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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