#5C57E8#5C57E8

#5C57E8 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.8% C 0.212 H 278.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5C57E8
RGBrgb(92, 87, 232)
HSLhsl(242, 76%, 63%)
HSVhsv(242, 63%, 91%)
CMYKcmyk(60.3%, 62.5%, 0%, 9%)
CIE-LABlab(45.52, 43.60, -72.91)
CIE-LCHlch(45.52, 84.95, 300.88°)
OKLaboklab(54.83% 0.0307 -0.2099)
OKLCHoklch(54.83% 0.212 278.3)
XYZxyz(22.3826, 14.9162, 78.0279)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C57E8 #E3E857
analogous
#579AE8 #5C57E8 #A557E8
triadic
#5C57E8 #E85C57 #57E85C
tetradic
#5C57E8 #E8579A #E3E857 #57E8A5
square
#5C57E8 #E8579A #E3E857 #57E8A5
split-complementary
#5C57E8 #E8A557 #9AE857
monochromatic
#1D18AD #2821E1 #5C57E8 #908DEF #C4C3F7

Accessibility & contrast

On white

5.27
#5C57E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5C57E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C57E8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C57E8#FFFFFF#000000##FFFFFF
##5C57E81.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c57e8;
/* rgb */ color: rgb(92, 87, 232);
/* oklch */ color: oklch(54.8% 0.212 278.3);
Tailwind
colors: {
  custom: {
    50: '#9887f0',
    500: '#5c57e8',
    950: '#000000',
  },
}
SCSS
$custom: #5c57e8;
$custom-light: #9887f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c57e8",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 242.069,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54834,
    "c": 0.21211,
    "h": 278.3
  },
  "luminance": 0.14918
}

Semantic roles & 50–950 ramp

primary
#5C57E8
secondary
#E6E8B3
accent
#D80DD1
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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