#5C56DD#5C56DD

#5C56DD is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.8% C 0.199 H 279.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5C56DD
RGBrgb(92, 86, 221)
HSLhsl(243, 67%, 60%)
HSVhsv(243, 61%, 87%)
CMYKcmyk(58.4%, 61.1%, 0%, 13.3%)
CIE-LABlab(44.45, 40.70, -68.42)
CIE-LCHlch(44.45, 79.61, 300.75°)
OKLaboklab(53.79% 0.0322 -0.1967)
OKLCHoklch(53.79% 0.199 279.3)
XYZxyz(20.7884, 14.1499, 70.0283)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C56DD #D7DD56
analogous
#5693DD #5C56DD #A056DD
triadic
#5C56DD #DD5C56 #56DD5C
tetradic
#5C56DD #DD5693 #D7DD56 #56DDA0
square
#5C56DD #DD5693 #D7DD56 #56DDA0
split-complementary
#5C56DD #DDA056 #93DD56
monochromatic
#241F9A #3029CD #5C56DD #8D89E7 #BEBCF2

Accessibility & contrast

On white

5.48
#5C56DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5C56DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C56DD
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C56DD#FFFFFF#000000##FFFFFF
##5C56DD1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c56dd;
/* rgb */ color: rgb(92, 86, 221);
/* oklch */ color: oklch(53.8% 0.199 279.3);
Tailwind
colors: {
  custom: {
    50: '#9686e9',
    500: '#5c56dd',
    950: '#000000',
  },
}
SCSS
$custom: #5c56dd;
$custom-light: #9686e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c56dd",
  "rgb": {
    "r": 92,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 242.667,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53785,
    "c": 0.19932,
    "h": 279.3
  },
  "luminance": 0.14151
}

Semantic roles & 50–950 ramp

primary
#5C56DD
secondary
#DFE1AE
accent
#CE17C6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5C56DD

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

Preview Lab → · Contrast checker → · Palette generator →

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