#5D56DC#5D56DC

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

Color values

HEX#5D56DC
RGBrgb(93, 86, 220)
HSLhsl(243, 66%, 60%)
HSVhsv(243, 61%, 86%)
CMYKcmyk(57.7%, 60.9%, 0%, 13.7%)
CIE-LABlab(44.45, 40.56, -67.85)
CIE-LCHlch(44.45, 79.05, 300.87°)
OKLaboklab(53.78% 0.0335 -0.195)
OKLCHoklch(53.78% 0.198 279.7)
XYZxyz(20.7562, 14.1486, 69.3335)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D56DC #D5DC56
analogous
#5692DC #5D56DC #A056DC
triadic
#5D56DC #DC5D56 #56DC5D
tetradic
#5D56DC #DC5692 #D5DC56 #56DCA0
square
#5D56DC #DC5692 #D5DC56 #56DCA0
split-complementary
#5D56DC #DCA056 #92DC56
monochromatic
#262098 #322ACB #5D56DC #8E89E6 #BEBBF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D56DC#FFFFFF#000000##FFFFFF
##5D56DC1.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)
#006EE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#087791
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d56dc;
/* rgb */ color: rgb(93, 86, 220);
/* oklch */ color: oklch(53.8% 0.198 279.7);
Tailwind
colors: {
  custom: {
    50: '#9686e8',
    500: '#5d56dc',
    950: '#000000',
  },
}
SCSS
$custom: #5d56dc;
$custom-light: #9686e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d56dc",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 243.134,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.53779,
    "c": 0.19785,
    "h": 279.7
  },
  "luminance": 0.1415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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