#5D56DD#5D56DD

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

Color values

HEX#5D56DD
RGBrgb(93, 86, 221)
HSLhsl(243, 67%, 60%)
HSVhsv(243, 61%, 87%)
CMYKcmyk(57.9%, 61.1%, 0%, 13.3%)
CIE-LABlab(44.52, 40.87, -68.29)
CIE-LCHlch(44.52, 79.59, 300.90°)
OKLaboklab(53.86% 0.0334 -0.1963)
OKLCHoklch(53.86% 0.199 279.7)
XYZxyz(20.8890, 14.2017, 70.0330)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D56DD #D6DD56
analogous
#5693DD #5D56DD #A056DD
triadic
#5D56DD #DD5D56 #56DD5D
tetradic
#5D56DD #DD5693 #D6DD56 #56DDA0
square
#5D56DD #DD5693 #D6DD56 #56DDA0
split-complementary
#5D56DD #DDA056 #93DD56
monochromatic
#251F9A #3229CD #5D56DD #8E89E7 #BFBCF2

Accessibility & contrast

On white

5.47
#5D56DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5D56DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D56DD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D56DD#FFFFFF#000000##FFFFFF
##5D56DD1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d56dd;
/* rgb */ color: rgb(93, 86, 221);
/* oklch */ color: oklch(53.9% 0.199 279.7);
Tailwind
colors: {
  custom: {
    50: '#9786e9',
    500: '#5d56dd',
    950: '#000000',
  },
}
SCSS
$custom: #5d56dd;
$custom-light: #9786e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d56dd",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 243.111,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53858,
    "c": 0.19913,
    "h": 279.7
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D56DD

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

Preview Lab → · Contrast checker → · Palette generator →

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