#5D57CC#5D57CC

#5D57CC is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.176 H 280.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5D57CC
RGBrgb(93, 87, 204)
HSLhsl(243, 53%, 57%)
HSVhsv(243, 57%, 80%)
CMYKcmyk(54.4%, 57.4%, 0%, 20%)
CIE-LABlab(43.51, 34.91, -60.20)
CIE-LCHlch(43.51, 69.59, 300.11°)
OKLaboklab(52.72% 0.033 -0.1725)
OKLCHoklch(52.72% 0.176 280.8)
XYZxyz(18.8181, 13.5020, 58.7296)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57CC #C6CC57
analogous
#578CCC #5D57CC #9857CC
triadic
#5D57CC #CC5D57 #57CC5D
tetradic
#5D57CC #CC578C #C6CC57 #57CC98
square
#5D57CC #CC578C #C6CC57 #57CC98
split-complementary
#5D57CC #CC9857 #8CCC57
monochromatic
#2C2781 #3C36B0 #5D57CC #8A86DA #B8B5E9

Accessibility & contrast

On white

5.67
#5D57CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5D57CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57CC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57CC#FFFFFF#000000##FFFFFF
##5D57CC1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#297289
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d57cc;
/* rgb */ color: rgb(93, 87, 204);
/* oklch */ color: oklch(52.7% 0.176 280.8);
Tailwind
colors: {
  custom: {
    50: '#9486dc',
    500: '#5d57cc',
    950: '#000000',
  },
}
SCSS
$custom: #5d57cc;
$custom-light: #9486dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57cc",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 243.077,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52722,
    "c": 0.17562,
    "h": 280.8
  },
  "luminance": 0.13503
}

Semantic roles & 50–950 ramp

primary
#5D57CC
secondary
#D5D7A8
accent
#DD4BD5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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