#5C57D2#5C57D2

#5C57D2 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.1% C 0.184 H 279.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5C57D2
RGBrgb(92, 87, 210)
HSLhsl(242, 58%, 58%)
HSVhsv(242, 59%, 82%)
CMYKcmyk(56.2%, 58.6%, 0%, 17.6%)
CIE-LABlab(43.86, 36.62, -63.08)
CIE-LCHlch(43.86, 72.94, 300.14°)
OKLaboklab(53.1% 0.0317 -0.181)
OKLCHoklch(53.1% 0.184 279.9)
XYZxyz(19.4510, 13.7436, 62.5881)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C57D2 #CDD257
analogous
#578FD2 #5C57D2 #9957D2
triadic
#5C57D2 #D25C57 #57D25C
tetradic
#5C57D2 #D2578F #CDD257 #57D299
square
#5C57D2 #D2578F #CDD257 #57D299
split-complementary
#5C57D2 #D29957 #8FD257
monochromatic
#29258A #3732BA #5C57D2 #8B87DF #BAB8EC

Accessibility & contrast

On white

5.60
#5C57D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5C57D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C57D2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C57D2#FFFFFF#000000##FFFFFF
##5C57D21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#1C748C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5c57d2;
/* rgb */ color: rgb(92, 87, 210);
/* oklch */ color: oklch(53.1% 0.184 279.9);
Tailwind
colors: {
  custom: {
    50: '#9486e1',
    500: '#5c57d2',
    950: '#000000',
  },
}
SCSS
$custom: #5c57d2;
$custom-light: #9486e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c57d2",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 242.439,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53099,
    "c": 0.18375,
    "h": 279.9
  },
  "luminance": 0.13745
}

Semantic roles & 50–950 ramp

primary
#5C57D2
secondary
#D9DBAA
accent
#E147DB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5C57D2

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

Preview Lab → · Contrast checker → · Palette generator →

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