#5C57CA#5C57CA

#5C57CA is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.5% C 0.173 H 280.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5C57CA
RGBrgb(92, 87, 202)
HSLhsl(243, 52%, 57%)
HSVhsv(243, 57%, 79%)
CMYKcmyk(54.5%, 56.9%, 0%, 20.8%)
CIE-LABlab(43.29, 34.08, -59.40)
CIE-LCHlch(43.29, 68.49, 299.85°)
OKLaboklab(52.5% 0.0317 -0.1702)
OKLCHoklch(52.5% 0.173 280.6)
XYZxyz(18.4792, 13.3548, 57.4697)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C57CA #C5CA57
analogous
#578CCA #5C57CA #9657CA
triadic
#5C57CA #CA5C57 #57CA5C
tetradic
#5C57CA #CA578C #C5CA57 #57CA96
square
#5C57CA #CA578C #C5CA57 #57CA96
split-complementary
#5C57CA #CA9657 #8CCA57
monochromatic
#2C287F #3C37AD #5C57CA #8986D9 #B6B4E7

Accessibility & contrast

On white

5.72
#5C57CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5C57CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C57CA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C57CA#FFFFFF#000000##FFFFFF
##5C57CA1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#287288
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5c57ca;
/* rgb */ color: rgb(92, 87, 202);
/* oklch */ color: oklch(52.5% 0.173 280.6);
Tailwind
colors: {
  custom: {
    50: '#9386db',
    500: '#5c57ca',
    950: '#000000',
  },
}
SCSS
$custom: #5c57ca;
$custom-light: #9386db;
$custom-dark: #000000;
JSON
{
  "hex": "#5c57ca",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 242.609,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52497,
    "c": 0.17311,
    "h": 280.6
  },
  "luminance": 0.13356
}

Semantic roles & 50–950 ramp

primary
#5C57CA
secondary
#D4D6A7
accent
#DB4CD5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5C57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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