#5C57CD#5C57CD

#5C57CD is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.177 H 280.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5C57CD
RGBrgb(92, 87, 205)
HSLhsl(243, 54%, 57%)
HSVhsv(243, 58%, 80%)
CMYKcmyk(55.1%, 57.6%, 0%, 19.6%)
CIE-LABlab(43.50, 35.03, -60.79)
CIE-LCHlch(43.50, 70.16, 299.96°)
OKLaboklab(52.72% 0.0317 -0.1743)
OKLCHoklch(52.72% 0.177 280.3)
XYZxyz(18.8378, 13.4983, 59.3586)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C57CD #C8CD57
analogous
#578DCD #5C57CD #9757CD
triadic
#5C57CD #CD5C57 #57CD5C
tetradic
#5C57CD #CD578D #C8CD57 #57CD97
square
#5C57CD #CD578D #C8CD57 #57CD97
split-complementary
#5C57CD #CD9757 #8DCD57
monochromatic
#2B2783 #3A35B2 #5C57CD #8A86DB #B8B5E9

Accessibility & contrast

On white

5.68
#5C57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5C57CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C57CD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C57CD#FFFFFF#000000##FFFFFF
##5C57CD1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#247389
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5c57cd;
/* rgb */ color: rgb(92, 87, 205);
/* oklch */ color: oklch(52.7% 0.177 280.3);
Tailwind
colors: {
  custom: {
    50: '#9386dd',
    500: '#5c57cd',
    950: '#000000',
  },
}
SCSS
$custom: #5c57cd;
$custom-light: #9386dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c57cd",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 242.542,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52721,
    "c": 0.17713,
    "h": 280.3
  },
  "luminance": 0.13499
}

Semantic roles & 50–950 ramp

primary
#5C57CD
secondary
#D6D8A8
accent
#DD4AD7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5C57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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