#5D57CD#5D57CD

#5D57CD is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.177 H 280.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5D57CD
RGBrgb(93, 87, 205)
HSLhsl(243, 54%, 57%)
HSVhsv(243, 58%, 80%)
CMYKcmyk(54.6%, 57.6%, 0%, 19.6%)
CIE-LABlab(43.58, 35.22, -60.66)
CIE-LCHlch(43.58, 70.15, 300.14°)
OKLaboklab(52.8% 0.033 -0.1739)
OKLCHoklch(52.8% 0.177 280.7)
XYZxyz(18.9384, 13.5501, 59.3633)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57CD #C7CD57
analogous
#578CCD #5D57CD #9857CD
triadic
#5D57CD #CD5D57 #57CD5D
tetradic
#5D57CD #CD578C #C7CD57 #57CD98
square
#5D57CD #CD578C #C7CD57 #57CD98
split-complementary
#5D57CD #CD9857 #8CCD57
monochromatic
#2C2783 #3B35B2 #5D57CD #8A86DB #B8B5E9

Accessibility & contrast

On white

5.66
#5D57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5D57CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57CD
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57CD#FFFFFF#000000##FFFFFF
##5D57CD1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#287389
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d57cd;
/* rgb */ color: rgb(93, 87, 205);
/* oklch */ color: oklch(52.8% 0.177 280.7);
Tailwind
colors: {
  custom: {
    50: '#9486dd',
    500: '#5d57cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d57cd;
$custom-light: #9486dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57cd",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 243.051,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.17695,
    "h": 280.7
  },
  "luminance": 0.13551
}

Semantic roles & 50–950 ramp

primary
#5D57CD
secondary
#D5D8A8
accent
#DD4AD6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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