#5B56DE#5B56DE

#5B56DE is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.8% C 0.201 H 278.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5B56DE
RGBrgb(91, 86, 222)
HSLhsl(242, 67%, 60%)
HSVhsv(242, 61%, 87%)
CMYKcmyk(59%, 61.3%, 0%, 12.9%)
CIE-LABlab(44.45, 40.86, -68.99)
CIE-LCHlch(44.45, 80.18, 300.64°)
OKLaboklab(53.79% 0.0309 -0.1984)
OKLCHoklch(53.79% 0.201 278.9)
XYZxyz(20.8228, 14.1521, 70.7274)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B56DE #D9DE56
analogous
#5695DE #5B56DE #9F56DE
triadic
#5B56DE #DE5B56 #56DE5B
tetradic
#5B56DE #DE5695 #D9DE56 #56DE9F
square
#5B56DE #DE5695 #D9DE56 #56DE9F
split-complementary
#5B56DE #DE9F56 #95DE56
monochromatic
#231E9B #2E28CE #5B56DE #8D89E8 #BEBCF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B56DE#FFFFFF#000000##FFFFFF
##5B56DE1.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)
#006FE2
Deuteranopia (green-blind)
#0064DB
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b56de;
/* rgb */ color: rgb(91, 86, 222);
/* oklch */ color: oklch(53.8% 0.201 278.9);
Tailwind
colors: {
  custom: {
    50: '#9686e9',
    500: '#5b56de',
    950: '#000000',
  },
}
SCSS
$custom: #5b56de;
$custom-light: #9686e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b56de",
  "rgb": {
    "r": 91,
    "g": 86,
    "b": 222
  },
  "hsl": {
    "h": 242.206,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53793,
    "c": 0.20079,
    "h": 278.9
  },
  "luminance": 0.14154
}

Semantic roles & 50–950 ramp

primary
#5B56DE
secondary
#E0E2AE
accent
#CF16C8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5B56DE

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

Preview Lab → · Contrast checker → · Palette generator →

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