#5B56DD#5B56DD

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

Color values

HEX#5B56DD
RGBrgb(91, 86, 221)
HSLhsl(242, 67%, 60%)
HSVhsv(242, 61%, 87%)
CMYKcmyk(58.8%, 61.1%, 0%, 13.3%)
CIE-LABlab(44.37, 40.54, -68.54)
CIE-LCHlch(44.37, 79.63, 300.60°)
OKLaboklab(53.71% 0.031 -0.1971)
OKLCHoklch(53.71% 0.2 278.9)
XYZxyz(20.6892, 14.0987, 70.0237)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B56DD #D8DD56
analogous
#5695DD #5B56DD #9E56DD
triadic
#5B56DD #DD5B56 #56DD5B
tetradic
#5B56DD #DD5695 #D8DD56 #56DD9E
square
#5B56DD #DD5695 #D8DD56 #56DD9E
split-complementary
#5B56DD #DD9E56 #95DD56
monochromatic
#231F9A #2F29CD #5B56DD #8C89E7 #BEBCF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B56DD#FFFFFF#000000##FFFFFF
##5B56DD1.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)
#006EE1
Deuteranopia (green-blind)
#0064DA
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b56dd;
/* rgb */ color: rgb(91, 86, 221);
/* oklch */ color: oklch(53.7% 0.200 278.9);
Tailwind
colors: {
  custom: {
    50: '#9686e9',
    500: '#5b56dd',
    950: '#000000',
  },
}
SCSS
$custom: #5b56dd;
$custom-light: #9686e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b56dd",
  "rgb": {
    "r": 91,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 242.222,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53713,
    "c": 0.19951,
    "h": 278.9
  },
  "luminance": 0.141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B56DD

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

Preview Lab → · Contrast checker → · Palette generator →

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