#5C57CC#5C57CC

#5C57CC is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.6% C 0.176 H 280.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5C57CC
RGBrgb(92, 87, 204)
HSLhsl(243, 53%, 57%)
HSVhsv(243, 57%, 80%)
CMYKcmyk(54.9%, 57.4%, 0%, 20%)
CIE-LABlab(43.43, 34.72, -60.33)
CIE-LCHlch(43.43, 69.60, 299.92°)
OKLaboklab(52.65% 0.0317 -0.1729)
OKLCHoklch(52.65% 0.176 280.4)
XYZxyz(18.7175, 13.4501, 58.7249)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C57CC #C7CC57
analogous
#578DCC #5C57CC #9757CC
triadic
#5C57CC #CC5C57 #57CC5C
tetradic
#5C57CC #CC578D #C7CC57 #57CC97
square
#5C57CC #CC578D #C7CC57 #57CC97
split-complementary
#5C57CC #CC9757 #8DCC57
monochromatic
#2B2781 #3B36B0 #5C57CC #8A86DA #B7B5E9

Accessibility & contrast

On white

5.69
#5C57CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5C57CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C57CC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C57CC#FFFFFF#000000##FFFFFF
##5C57CC1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#267289
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5c57cc;
/* rgb */ color: rgb(92, 87, 204);
/* oklch */ color: oklch(52.6% 0.176 280.4);
Tailwind
colors: {
  custom: {
    50: '#9386dc',
    500: '#5c57cc',
    950: '#000000',
  },
}
SCSS
$custom: #5c57cc;
$custom-light: #9386dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c57cc",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 242.564,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52646,
    "c": 0.17579,
    "h": 280.4
  },
  "luminance": 0.13451
}

Semantic roles & 50–950 ramp

primary
#5C57CC
secondary
#D5D7A8
accent
#DD4BD7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5C57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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