#5D57D2#5D57D2

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

Color values

HEX#5D57D2
RGBrgb(93, 87, 210)
HSLhsl(243, 58%, 58%)
HSVhsv(243, 59%, 82%)
CMYKcmyk(55.7%, 58.6%, 0%, 17.6%)
CIE-LABlab(43.94, 36.80, -62.96)
CIE-LCHlch(43.94, 72.92, 300.31°)
OKLaboklab(53.17% 0.0329 -0.1806)
OKLCHoklch(53.17% 0.184 280.3)
XYZxyz(19.5516, 13.7954, 62.5928)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57D2 #CCD257
analogous
#578ED2 #5D57D2 #9A57D2
triadic
#5D57D2 #D25D57 #57D25D
tetradic
#5D57D2 #D2578E #CCD257 #57D29A
square
#5D57D2 #D2578E #CCD257 #57D29A
split-complementary
#5D57D2 #D29A57 #8ED257
monochromatic
#2A258A #3832BA #5D57D2 #8C87DF #BAB8EC

Accessibility & contrast

On white

5.59
#5D57D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5D57D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57D2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57D2#FFFFFF#000000##FFFFFF
##5D57D21.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d57d2;
/* rgb */ color: rgb(93, 87, 210);
/* oklch */ color: oklch(53.2% 0.184 280.3);
Tailwind
colors: {
  custom: {
    50: '#9586e1',
    500: '#5d57d2',
    950: '#000000',
  },
}
SCSS
$custom: #5d57d2;
$custom-light: #9586e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57d2",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 242.927,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53174,
    "c": 0.18358,
    "h": 280.3
  },
  "luminance": 0.13797
}

Semantic roles & 50–950 ramp

primary
#5D57D2
secondary
#D9DBAA
accent
#E147D9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D57D2

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

Preview Lab → · Contrast checker → · Palette generator →

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