#5C57ED#5C57ED

#5C57ED is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.2% C 0.218 H 278.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5C57ED
RGBrgb(92, 87, 237)
HSLhsl(242, 81%, 64%)
HSVhsv(242, 63%, 93%)
CMYKcmyk(61.2%, 63.3%, 0%, 7.1%)
CIE-LABlab(45.91, 45.18, -75.08)
CIE-LCHlch(45.91, 87.63, 301.03°)
OKLaboklab(55.24% 0.0303 -0.2163)
OKLCHoklch(55.24% 0.218 278)
XYZxyz(23.1030, 15.2043, 81.8216)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C57ED #E8ED57
analogous
#579DED #5C57ED #A757ED
triadic
#5C57ED #ED5C57 #57ED5C
tetradic
#5C57ED #ED579D #E8ED57 #57EDA7
square
#5C57ED #ED579D #E8ED57 #57EDA7
split-complementary
#5C57ED #EDA757 #9DED57
monochromatic
#1914B6 #2620E7 #5C57ED #928EF3 #C7C6F9

Accessibility & contrast

On white

5.20
#5C57ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5C57ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C57ED
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C57ED#FFFFFF#000000##FFFFFF
##5C57ED1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F2
Deuteranopia (green-blind)
#0066EA
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5c57ed;
/* rgb */ color: rgb(92, 87, 237);
/* oklch */ color: oklch(55.2% 0.218 278.0);
Tailwind
colors: {
  custom: {
    50: '#9987f4',
    500: '#5c57ed',
    950: '#000000',
  },
}
SCSS
$custom: #5c57ed;
$custom-light: #9987f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c57ed",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 242,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55244,
    "c": 0.21838,
    "h": 278
  },
  "luminance": 0.15206
}

Semantic roles & 50–950 ramp

primary
#5C57ED
secondary
#E9EAB5
accent
#DD09D6
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C57ED

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

Preview Lab → · Contrast checker → · Palette generator →

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