#5C57EC#5C57EC

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

Color values

HEX#5C57EC
RGBrgb(92, 87, 236)
HSLhsl(242, 80%, 63%)
HSVhsv(242, 63%, 93%)
CMYKcmyk(61%, 63.1%, 0%, 7.5%)
CIE-LABlab(45.83, 44.86, -74.65)
CIE-LCHlch(45.83, 87.09, 301.00°)
OKLaboklab(55.16% 0.0304 -0.215)
OKLCHoklch(55.16% 0.217 278)
XYZxyz(22.9573, 15.1461, 81.0543)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C57EC #E7EC57
analogous
#579DEC #5C57EC #A657EC
triadic
#5C57EC #EC5C57 #57EC5C
tetradic
#5C57EC #EC579D #E7EC57 #57ECA6
square
#5C57EC #EC579D #E7EC57 #57ECA6
split-complementary
#5C57EC #ECA657 #9DEC57
monochromatic
#1A14B4 #2720E6 #5C57EC #918EF2 #C7C5F8

Accessibility & contrast

On white

5.21
#5C57EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5C57EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C57EC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C57EC#FFFFFF#000000##FFFFFF
##5C57EC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c57ec;
/* rgb */ color: rgb(92, 87, 236);
/* oklch */ color: oklch(55.2% 0.217 278.0);
Tailwind
colors: {
  custom: {
    50: '#9887f3',
    500: '#5c57ec',
    950: '#000000',
  },
}
SCSS
$custom: #5c57ec;
$custom-light: #9887f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c57ec",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 242.013,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55162,
    "c": 0.21713,
    "h": 278
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

primary
#5C57EC
secondary
#E8EAB5
accent
#DC0AD5
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C57EC

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

Preview Lab → · Contrast checker → · Palette generator →

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