#5C56CE#5C56CE

#5C56CE is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.180 H 280.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5C56CE
RGBrgb(92, 86, 206)
HSLhsl(243, 55%, 57%)
HSVhsv(243, 58%, 81%)
CMYKcmyk(55.3%, 58.3%, 0%, 19.2%)
CIE-LABlab(43.34, 35.96, -61.63)
CIE-LCHlch(43.34, 71.35, 300.26°)
OKLaboklab(52.62% 0.0327 -0.1767)
OKLCHoklch(52.62% 0.18 280.5)
XYZxyz(18.8785, 13.3859, 59.9695)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C56CE #C8CE56
analogous
#568CCE #5C56CE #9856CE
triadic
#5C56CE #CE5C56 #56CE5C
tetradic
#5C56CE #CE568C #C8CE56 #56CE98
square
#5C56CE #CE568C #C8CE56 #56CE98
split-complementary
#5C56CE #CE9856 #8CCE56
monochromatic
#2B2683 #3A34B3 #5C56CE #8A85DC #B8B5EA

Accessibility & contrast

On white

5.71
#5C56CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5C56CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C56CE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C56CE#FFFFFF#000000##FFFFFF
##5C56CE1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#23728A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5c56ce;
/* rgb */ color: rgb(92, 86, 206);
/* oklch */ color: oklch(52.6% 0.180 280.5);
Tailwind
colors: {
  custom: {
    50: '#9486de',
    500: '#5c56ce',
    950: '#000000',
  },
}
SCSS
$custom: #5c56ce;
$custom-light: #9486de;
$custom-dark: #000000;
JSON
{
  "hex": "#5c56ce",
  "rgb": {
    "r": 92,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 243,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52621,
    "c": 0.17975,
    "h": 280.5
  },
  "luminance": 0.13387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C56CE

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

Preview Lab → · Contrast checker → · Palette generator →

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