#5D57C8#5D57C8

#5D57C8 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.4% C 0.170 H 281.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5D57C8
RGBrgb(93, 87, 200)
HSLhsl(243, 51%, 56%)
HSVhsv(243, 57%, 78%)
CMYKcmyk(53.5%, 56.5%, 0%, 21.6%)
CIE-LABlab(43.23, 33.65, -58.34)
CIE-LCHlch(43.23, 67.35, 299.97°)
OKLaboklab(52.43% 0.0329 -0.167)
OKLCHoklch(52.43% 0.17 281.2)
XYZxyz(18.3445, 13.3126, 56.2353)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57C8 #C2C857
analogous
#578AC8 #5D57C8 #9657C8
triadic
#5D57C8 #C85D57 #57C85D
tetradic
#5D57C8 #C8578A #C2C857 #57C896
square
#5D57C8 #C8578A #C2C857 #57C896
split-complementary
#5D57C8 #C89657 #8AC857
monochromatic
#2D297C #3E38AA #5D57C8 #8985D7 #B6B3E6

Accessibility & contrast

On white

5.73
#5D57C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5D57C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57C8
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57C8#FFFFFF#000000##FFFFFF
##5D57C81.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#2E7187
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5d57c8;
/* rgb */ color: rgb(93, 87, 200);
/* oklch */ color: oklch(52.4% 0.170 281.2);
Tailwind
colors: {
  custom: {
    50: '#9386d9',
    500: '#5d57c8',
    950: '#000000',
  },
}
SCSS
$custom: #5d57c8;
$custom-light: #9386d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57c8",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 243.186,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52426,
    "c": 0.17026,
    "h": 281.2
  },
  "luminance": 0.13314
}

Semantic roles & 50–950 ramp

primary
#5D57C8
secondary
#D2D5A6
accent
#DA4ED3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D57C8

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

Preview Lab → · Contrast checker → · Palette generator →

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