#5456DC#5456DC

#5456DC is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.1% C 0.200 H 276.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5456DC
RGBrgb(84, 86, 220)
HSLhsl(239, 66%, 60%)
HSVhsv(239, 62%, 86%)
CMYKcmyk(61.8%, 60.9%, 0%, 13.7%)
CIE-LABlab(43.81, 39.09, -68.91)
CIE-LCHlch(43.81, 79.23, 299.57°)
OKLaboklab(53.15% 0.0228 -0.1984)
OKLCHoklch(53.15% 0.2 276.5)
XYZxyz(19.8980, 13.7061, 69.2932)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5456DC #DCDA54
analogous
#549ADC #5456DC #9654DC
triadic
#5456DC #DC5456 #56DC54
tetradic
#5456DC #DC549A #DCDA54 #54DC96
square
#5456DC #DC549A #DCDA54 #54DC96
split-complementary
#5456DC #DC9654 #9ADC54
monochromatic
#1F2197 #292CCA #5456DC #8788E6 #BABAF1

Accessibility & contrast

On white

5.61
#5456DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5456DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5456DC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5456DC#FFFFFF#000000##FFFFFF
##5456DC1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5456dc;
/* rgb */ color: rgb(84, 86, 220);
/* oklch */ color: oklch(53.1% 0.200 276.5);
Tailwind
colors: {
  custom: {
    50: '#9286e8',
    500: '#5456dc',
    950: '#000000',
  },
}
SCSS
$custom: #5456dc;
$custom-light: #9286e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5456dc",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 239.118,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53148,
    "c": 0.19967,
    "h": 276.5
  },
  "luminance": 0.13708
}

Semantic roles & 50–950 ramp

primary
#5456DC
secondary
#E0E0AC
accent
#E63FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5456DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5456DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva