#5D57CE#5D57CE

#5D57CE is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.9% C 0.178 H 280.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5D57CE
RGBrgb(93, 87, 206)
HSLhsl(243, 55%, 57%)
HSVhsv(243, 58%, 81%)
CMYKcmyk(54.9%, 57.8%, 0%, 19.2%)
CIE-LABlab(43.65, 35.54, -61.12)
CIE-LCHlch(43.65, 70.70, 300.18°)
OKLaboklab(52.87% 0.0329 -0.1752)
OKLCHoklch(52.87% 0.178 280.6)
XYZxyz(19.0595, 13.5986, 60.0010)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57CE #C8CE57
analogous
#578DCE #5D57CE #9857CE
triadic
#5D57CE #CE5D57 #57CE5D
tetradic
#5D57CE #CE578D #C8CE57 #57CE98
square
#5D57CE #CE578D #C8CE57 #57CE98
split-complementary
#5D57CE #CE9857 #8DCE57
monochromatic
#2B2784 #3B34B3 #5D57CE #8B86DC #B8B6EA

Accessibility & contrast

On white

5.65
#5D57CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5D57CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57CE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57CE#FFFFFF#000000##FFFFFF
##5D57CE1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#26738A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d57ce;
/* rgb */ color: rgb(93, 87, 206);
/* oklch */ color: oklch(52.9% 0.178 280.6);
Tailwind
colors: {
  custom: {
    50: '#9486de',
    500: '#5d57ce',
    950: '#000000',
  },
}
SCSS
$custom: #5d57ce;
$custom-light: #9486de;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57ce",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 243.025,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52871,
    "c": 0.17828,
    "h": 280.6
  },
  "luminance": 0.136
}

Semantic roles & 50–950 ramp

primary
#5D57CE
secondary
#D6D8A8
accent
#DE4AD7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D57CE

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

Preview Lab → · Contrast checker → · Palette generator →

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