#5C56CD#5C56CD

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

Color values

HEX#5C56CD
RGBrgb(92, 86, 205)
HSLhsl(243, 54%, 57%)
HSVhsv(243, 58%, 80%)
CMYKcmyk(55.1%, 58%, 0%, 19.6%)
CIE-LABlab(43.27, 35.64, -61.17)
CIE-LCHlch(43.27, 70.80, 300.23°)
OKLaboklab(52.55% 0.0327 -0.1754)
OKLCHoklch(52.55% 0.178 280.6)
XYZxyz(18.7574, 13.3375, 59.3318)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C56CD #C7CD56
analogous
#568CCD #5C56CD #9856CD
triadic
#5C56CD #CD5C56 #56CD5C
tetradic
#5C56CD #CD568C #C7CD56 #56CD98
square
#5C56CD #CD568C #C7CD56 #56CD98
split-complementary
#5C56CD #CD9856 #8CCD56
monochromatic
#2B2682 #3B34B1 #5C56CD #8A85DB #B7B4E9

Accessibility & contrast

On white

5.73
#5C56CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C56CD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C56CD#FFFFFF#000000##FFFFFF
##5C56CD1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c56cd;
/* rgb */ color: rgb(92, 86, 205);
/* oklch */ color: oklch(52.5% 0.178 280.6);
Tailwind
colors: {
  custom: {
    50: '#9486dd',
    500: '#5c56cd',
    950: '#000000',
  },
}
SCSS
$custom: #5c56cd;
$custom-light: #9486dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c56cd",
  "rgb": {
    "r": 92,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 243.025,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52546,
    "c": 0.17842,
    "h": 280.6
  },
  "luminance": 0.13339
}

Semantic roles & 50–950 ramp

primary
#5C56CD
secondary
#D5D8A7
accent
#DE4AD6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5C56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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