#5D57DC#5D57DC

#5D57DC is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.9% C 0.197 H 279.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5D57DC
RGBrgb(93, 87, 220)
HSLhsl(243, 66%, 60%)
HSVhsv(243, 60%, 86%)
CMYKcmyk(57.7%, 60.5%, 0%, 13.7%)
CIE-LABlab(44.67, 39.96, -67.48)
CIE-LCHlch(44.67, 78.42, 300.64°)
OKLaboklab(53.95% 0.0326 -0.1939)
OKLCHoklch(53.95% 0.197 279.5)
XYZxyz(20.8366, 14.3094, 69.3603)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57DC #D6DC57
analogous
#5793DC #5D57DC #A057DC
triadic
#5D57DC #DC5D57 #57DC5D
tetradic
#5D57DC #DC5793 #D6DC57 #57DCA0
square
#5D57DC #DC5793 #D6DC57 #57DCA0
split-complementary
#5D57DC #DCA057 #93DC57
monochromatic
#252099 #322ACB #5D57DC #8E8AE7 #BFBCF1

Accessibility & contrast

On white

5.44
#5D57DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5D57DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57DC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57DC#FFFFFF#000000##FFFFFF
##5D57DC1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d57dc;
/* rgb */ color: rgb(93, 87, 220);
/* oklch */ color: oklch(53.9% 0.197 279.5);
Tailwind
colors: {
  custom: {
    50: '#9687e8',
    500: '#5d57dc',
    950: '#000000',
  },
}
SCSS
$custom: #5d57dc;
$custom-light: #9687e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57dc",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 242.707,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53946,
    "c": 0.19661,
    "h": 279.5
  },
  "luminance": 0.14311
}

Semantic roles & 50–950 ramp

primary
#5D57DC
secondary
#DFE1AE
accent
#CD18C5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5D57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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