#5C56DC#5C56DC

#5C56DC is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.7% C 0.198 H 279.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5C56DC
RGBrgb(92, 86, 220)
HSLhsl(243, 66%, 60%)
HSVhsv(243, 61%, 86%)
CMYKcmyk(58.2%, 60.9%, 0%, 13.7%)
CIE-LABlab(44.37, 40.39, -67.97)
CIE-LCHlch(44.37, 79.07, 300.72°)
OKLaboklab(53.71% 0.0323 -0.1954)
OKLCHoklch(53.71% 0.198 279.4)
XYZxyz(20.6556, 14.0967, 69.3288)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C56DC #D6DC56
analogous
#5693DC #5C56DC #9F56DC
triadic
#5C56DC #DC5C56 #56DC5C
tetradic
#5C56DC #DC5693 #D6DC56 #56DC9F
square
#5C56DC #DC5693 #D6DC56 #56DC9F
split-complementary
#5C56DC #DC9F56 #93DC56
monochromatic
#252098 #312ACB #5C56DC #8D89E6 #BEBBF1

Accessibility & contrast

On white

5.50
#5C56DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5C56DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C56DC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C56DC#FFFFFF#000000##FFFFFF
##5C56DC1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5c56dc;
/* rgb */ color: rgb(92, 86, 220);
/* oklch */ color: oklch(53.7% 0.198 279.4);
Tailwind
colors: {
  custom: {
    50: '#9686e8',
    500: '#5c56dc',
    950: '#000000',
  },
}
SCSS
$custom: #5c56dc;
$custom-light: #9686e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c56dc",
  "rgb": {
    "r": 92,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 242.687,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.53706,
    "c": 0.19804,
    "h": 279.4
  },
  "luminance": 0.14098
}

Semantic roles & 50–950 ramp

primary
#5C56DC
secondary
#DEE1AD
accent
#E93FE1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5C56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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