#5C57BE#5C57BE

#5C57BE is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.157 H 281.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5C57BE
RGBrgb(92, 87, 190)
HSLhsl(243, 44%, 54%)
HSVhsv(243, 54%, 75%)
CMYKcmyk(51.6%, 54.2%, 0%, 25.5%)
CIE-LABlab(42.47, 30.30, -53.77)
CIE-LCHlch(42.47, 61.72, 299.40°)
OKLaboklab(51.63% 0.0315 -0.1536)
OKLCHoklch(51.63% 0.157 281.6)
XYZxyz(17.1132, 12.8084, 50.2757)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C57BE #B9BE57
analogous
#5786BE #5C57BE #9057BE
triadic
#5C57BE #BE5C57 #57BE5C
tetradic
#5C57BE #BE5786 #B9BE57 #57BE90
square
#5C57BE #BE5786 #B9BE57 #57BE90
split-complementary
#5C57BE #BE9057 #86BE57
monochromatic
#2E2B6F #413C9C #5C57BE #8783CF #B2AFE0

Accessibility & contrast

On white

5.90
#5C57BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5C57BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C57BE
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C57BE#FFFFFF#000000##FFFFFF
##5C57BE1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B68C2
Deuteranopia (green-blind)
#0D61BC
Tritanopia (blue-blind)
#356E82
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5c57be;
/* rgb */ color: rgb(92, 87, 190);
/* oklch */ color: oklch(51.6% 0.157 281.6);
Tailwind
colors: {
  custom: {
    50: '#9186d2',
    500: '#5c57be',
    950: '#000000',
  },
}
SCSS
$custom: #5c57be;
$custom-light: #9186d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c57be",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 242.913,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51627,
    "c": 0.15679,
    "h": 281.6
  },
  "luminance": 0.12809
}

Semantic roles & 50–950 ramp

primary
#5C57BE
secondary
#CCCEA3
accent
#D454CE
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5C57BE

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

Preview Lab → · Contrast checker → · Palette generator →

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