#5C57EA#5C57EA

#5C57EA is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.0% C 0.215 H 278.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5C57EA
RGBrgb(92, 87, 234)
HSLhsl(242, 78%, 63%)
HSVhsv(242, 63%, 92%)
CMYKcmyk(60.7%, 62.8%, 0%, 8.2%)
CIE-LABlab(45.68, 44.23, -73.78)
CIE-LCHlch(45.68, 86.02, 300.94°)
OKLaboklab(55% 0.0305 -0.2124)
OKLCHoklch(55% 0.215 278.2)
XYZxyz(22.6683, 15.0305, 79.5326)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C57EA #E5EA57
analogous
#579BEA #5C57EA #A657EA
triadic
#5C57EA #EA5C57 #57EA5C
tetradic
#5C57EA #EA579B #E5EA57 #57EAA6
square
#5C57EA #EA579B #E5EA57 #57EAA6
split-complementary
#5C57EA #EAA657 #9BEA57
monochromatic
#1B16B1 #2721E3 #5C57EA #918DF1 #C6C4F8

Accessibility & contrast

On white

5.24
#5C57EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5C57EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C57EA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C57EA#FFFFFF#000000##FFFFFF
##5C57EA1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0066E7
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c57ea;
/* rgb */ color: rgb(92, 87, 234);
/* oklch */ color: oklch(55.0% 0.215 278.2);
Tailwind
colors: {
  custom: {
    50: '#9887f2',
    500: '#5c57ea',
    950: '#000000',
  },
}
SCSS
$custom: #5c57ea;
$custom-light: #9887f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c57ea",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 242.041,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54998,
    "c": 0.21463,
    "h": 278.2
  },
  "luminance": 0.15032
}

Semantic roles & 50–950 ramp

primary
#5C57EA
secondary
#E7E9B4
accent
#DA0BD3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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