#5C57DA#5C57DA

#5C57DA is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.7% C 0.194 H 279.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5C57DA
RGBrgb(92, 87, 218)
HSLhsl(242, 64%, 60%)
HSVhsv(242, 60%, 85%)
CMYKcmyk(57.8%, 60.1%, 0%, 14.5%)
CIE-LABlab(44.45, 39.16, -66.70)
CIE-LCHlch(44.45, 77.35, 300.41°)
OKLaboklab(53.72% 0.0314 -0.1916)
OKLCHoklch(53.72% 0.194 279.3)
XYZxyz(20.4727, 14.1522, 67.9689)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C57DA #D5DA57
analogous
#5794DA #5C57DA #9D57DA
triadic
#5C57DA #DA5C57 #57DA5C
tetradic
#5C57DA #DA5794 #D5DA57 #57DA9D
square
#5C57DA #DA5794 #D5DA57 #57DA9D
split-complementary
#5C57DA #DA9D57 #94DA57
monochromatic
#252196 #322CC8 #5C57DA #8D89E5 #BDBBF0

Accessibility & contrast

On white

5.48
#5C57DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5C57DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C57DA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C57DA#FFFFFF#000000##FFFFFF
##5C57DA1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#067790
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5c57da;
/* rgb */ color: rgb(92, 87, 218);
/* oklch */ color: oklch(53.7% 0.194 279.3);
Tailwind
colors: {
  custom: {
    50: '#9587e6',
    500: '#5c57da',
    950: '#000000',
  },
}
SCSS
$custom: #5c57da;
$custom-light: #9587e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c57da",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 242.29,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53717,
    "c": 0.19421,
    "h": 279.3
  },
  "luminance": 0.14154
}

Semantic roles & 50–950 ramp

primary
#5C57DA
secondary
#DEE0AD
accent
#E741E1
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5C57DA

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

Preview Lab → · Contrast checker → · Palette generator →

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