#5A56DD#5A56DD

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

Color values

HEX#5A56DD
RGBrgb(90, 86, 221)
HSLhsl(242, 67%, 60%)
HSVhsv(242, 61%, 87%)
CMYKcmyk(59.3%, 61.1%, 0%, 13.3%)
CIE-LABlab(44.30, 40.37, -68.66)
CIE-LCHlch(44.30, 79.65, 300.46°)
OKLaboklab(53.64% 0.0298 -0.1975)
OKLCHoklch(53.64% 0.2 278.6)
XYZxyz(20.5912, 14.0482, 70.0191)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A56DD #D9DD56
analogous
#5695DD #5A56DD #9E56DD
triadic
#5A56DD #DD5A56 #56DD5A
tetradic
#5A56DD #DD5695 #D9DD56 #56DD9E
square
#5A56DD #DD5695 #D9DD56 #56DD9E
split-complementary
#5A56DD #DD9E56 #95DD56
monochromatic
#231F9A #2E29CD #5A56DD #8C89E7 #BDBCF2

Accessibility & contrast

On white

5.51
#5A56DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5A56DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A56DD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A56DD#FFFFFF#000000##FFFFFF
##5A56DD1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a56dd;
/* rgb */ color: rgb(90, 86, 221);
/* oklch */ color: oklch(53.6% 0.200 278.6);
Tailwind
colors: {
  custom: {
    50: '#9586e9',
    500: '#5a56dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a56dd;
$custom-light: #9586e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a56dd",
  "rgb": {
    "r": 90,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 241.778,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53642,
    "c": 0.1997,
    "h": 278.6
  },
  "luminance": 0.1405
}

Semantic roles & 50–950 ramp

primary
#5A56DD
secondary
#E0E1AE
accent
#CE17C9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5A56DD

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

Preview Lab → · Contrast checker → · Palette generator →

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