#5C57BF#5C57BF

#5C57BF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.7% C 0.158 H 281.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5C57BF
RGBrgb(92, 87, 191)
HSLhsl(243, 45%, 55%)
HSVhsv(243, 54%, 75%)
CMYKcmyk(51.8%, 54.5%, 0%, 25.1%)
CIE-LABlab(42.54, 30.61, -54.24)
CIE-LCHlch(42.54, 62.28, 299.44°)
OKLaboklab(51.7% 0.0315 -0.155)
OKLCHoklch(51.7% 0.158 281.5)
XYZxyz(17.2229, 12.8523, 50.8533)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C57BF #BABF57
analogous
#5786BF #5C57BF #9057BF
triadic
#5C57BF #BF5C57 #57BF5C
tetradic
#5C57BF #BF5786 #BABF57 #57BF90
square
#5C57BF #BF5786 #BABF57 #57BF90
split-complementary
#5C57BF #BF9057 #86BF57
monochromatic
#2E2B71 #403C9D #5C57BF #8783D0 #B2B0E1

Accessibility & contrast

On white

5.88
#5C57BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5C57BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C57BF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C57BF#FFFFFF#000000##FFFFFF
##5C57BF1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1968C3
Deuteranopia (green-blind)
#0861BD
Tritanopia (blue-blind)
#346E82
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5c57bf;
/* rgb */ color: rgb(92, 87, 191);
/* oklch */ color: oklch(51.7% 0.158 281.5);
Tailwind
colors: {
  custom: {
    50: '#9186d3',
    500: '#5c57bf',
    950: '#000000',
  },
}
SCSS
$custom: #5c57bf;
$custom-light: #9186d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c57bf",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 242.885,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51698,
    "c": 0.15817,
    "h": 281.5
  },
  "luminance": 0.12853
}

Semantic roles & 50–950 ramp

primary
#5C57BF
secondary
#CDCFA3
accent
#D553CE
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5C57BF

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

Preview Lab → · Contrast checker → · Palette generator →

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