#5C57DC#5C57DC

#5C57DC is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.9% C 0.197 H 279.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5C57DC
RGBrgb(92, 87, 220)
HSLhsl(242, 66%, 60%)
HSVhsv(242, 60%, 86%)
CMYKcmyk(58.2%, 60.5%, 0%, 13.7%)
CIE-LABlab(44.60, 39.79, -67.60)
CIE-LCHlch(44.60, 78.44, 300.48°)
OKLaboklab(53.87% 0.0314 -0.1943)
OKLCHoklch(53.87% 0.197 279.2)
XYZxyz(20.7360, 14.2575, 69.3556)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C57DC #D7DC57
analogous
#5794DC #5C57DC #9F57DC
triadic
#5C57DC #DC5C57 #57DC5C
tetradic
#5C57DC #DC5794 #D7DC57 #57DC9F
square
#5C57DC #DC5794 #D7DC57 #57DC9F
split-complementary
#5C57DC #DC9F57 #94DC57
monochromatic
#242099 #302ACB #5C57DC #8D8AE7 #BEBCF1

Accessibility & contrast

On white

5.45
#5C57DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5C57DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C57DC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C57DC#FFFFFF#000000##FFFFFF
##5C57DC1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5c57dc;
/* rgb */ color: rgb(92, 87, 220);
/* oklch */ color: oklch(53.9% 0.197 279.2);
Tailwind
colors: {
  custom: {
    50: '#9687e8',
    500: '#5c57dc',
    950: '#000000',
  },
}
SCSS
$custom: #5c57dc;
$custom-light: #9687e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c57dc",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 242.256,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53874,
    "c": 0.1968,
    "h": 279.2
  },
  "luminance": 0.14259
}

Semantic roles & 50–950 ramp

primary
#5C57DC
secondary
#DFE1AE
accent
#CD18C7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5C57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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