#5C57CF#5C57CF

#5C57CF is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.9% C 0.180 H 280.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5C57CF
RGBrgb(92, 87, 207)
HSLhsl(243, 56%, 58%)
HSVhsv(243, 58%, 81%)
CMYKcmyk(55.6%, 58%, 0%, 18.8%)
CIE-LABlab(43.65, 35.67, -61.71)
CIE-LCHlch(43.65, 71.27, 300.03°)
OKLaboklab(52.87% 0.0317 -0.177)
OKLCHoklch(52.87% 0.18 280.2)
XYZxyz(19.0808, 13.5955, 60.6381)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C57CF #CACF57
analogous
#578ECF #5C57CF #9857CF
triadic
#5C57CF #CF5C57 #57CF5C
tetradic
#5C57CF #CF578E #CACF57 #57CF98
square
#5C57CF #CF578E #CACF57 #57CF98
split-complementary
#5C57CF #CF9857 #8ECF57
monochromatic
#2A2685 #3934B5 #5C57CF #8A87DD #B8B6EA

Accessibility & contrast

On white

5.65
#5C57CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5C57CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C57CF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C57CF#FFFFFF#000000##FFFFFF
##5C57CF1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#21738A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5c57cf;
/* rgb */ color: rgb(92, 87, 207);
/* oklch */ color: oklch(52.9% 0.180 280.2);
Tailwind
colors: {
  custom: {
    50: '#9486de',
    500: '#5c57cf',
    950: '#000000',
  },
}
SCSS
$custom: #5c57cf;
$custom-light: #9486de;
$custom-dark: #000000;
JSON
{
  "hex": "#5c57cf",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 242.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52871,
    "c": 0.17978,
    "h": 280.2
  },
  "luminance": 0.13597
}

Semantic roles & 50–950 ramp

primary
#5C57CF
secondary
#D7D9A9
accent
#DF49D9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5C57CF

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

Preview Lab → · Contrast checker → · Palette generator →

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