#5C57EF#5C57EF

#5C57EF is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.4% C 0.221 H 277.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5C57EF
RGBrgb(92, 87, 239)
HSLhsl(242, 83%, 64%)
HSVhsv(242, 64%, 94%)
CMYKcmyk(61.5%, 63.6%, 0%, 6.3%)
CIE-LABlab(46.07, 45.81, -75.95)
CIE-LCHlch(46.07, 88.69, 301.10°)
OKLaboklab(55.41% 0.0301 -0.2188)
OKLCHoklch(55.41% 0.221 277.8)
XYZxyz(23.3968, 15.3219, 83.3691)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C57EF #EAEF57
analogous
#579EEF #5C57EF #A857EF
triadic
#5C57EF #EF5C57 #57EF5C
tetradic
#5C57EF #EF579E #EAEF57 #57EFA8
square
#5C57EF #EF579E #EAEF57 #57EFA8
split-complementary
#5C57EF #EFA857 #9EEF57
monochromatic
#1712BA #261FEA #5C57EF #928FF4 #C8C7FA

Accessibility & contrast

On white

5.17
#5C57EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5C57EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C57EF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C57EF#FFFFFF#000000##FFFFFF
##5C57EF1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#0067EC
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5c57ef;
/* rgb */ color: rgb(92, 87, 239);
/* oklch */ color: oklch(55.4% 0.221 277.8);
Tailwind
colors: {
  custom: {
    50: '#9987f5',
    500: '#5c57ef',
    950: '#000000',
  },
}
SCSS
$custom: #5c57ef;
$custom-light: #9987f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c57ef",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 241.974,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.55409,
    "c": 0.22087,
    "h": 277.8
  },
  "luminance": 0.15324
}

Semantic roles & 50–950 ramp

primary
#5C57EF
secondary
#EAECB6
accent
#DF06D8
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C57EF

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

Preview Lab → · Contrast checker → · Palette generator →

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