#5456DF#5456DF

#5456DF is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.4% C 0.204 H 276.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5456DF
RGBrgb(84, 86, 223)
HSLhsl(239, 68%, 60%)
HSVhsv(239, 62%, 87%)
CMYKcmyk(62.3%, 61.4%, 0%, 12.5%)
CIE-LABlab(44.04, 40.07, -70.24)
CIE-LCHlch(44.04, 80.87, 299.70°)
OKLaboklab(53.39% 0.0226 -0.2023)
OKLCHoklch(53.39% 0.204 276.4)
XYZxyz(20.2989, 13.8665, 71.4045)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5456DF #DFDD54
analogous
#549BDF #5456DF #9854DF
triadic
#5456DF #DF5456 #56DF54
tetradic
#5456DF #DF549B #DFDD54 #54DF98
square
#5456DF #DF549B #DFDD54 #54DF98
split-complementary
#5456DF #DF9854 #9BDF54
monochromatic
#1D1F9C #2729CF #5456DF #8889E9 #BBBCF2

Accessibility & contrast

On white

5.56
#5456DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5456DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5456DF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5456DF#FFFFFF#000000##FFFFFF
##5456DF1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0062DC
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5456df;
/* rgb */ color: rgb(84, 86, 223);
/* oklch */ color: oklch(53.4% 0.204 276.4);
Tailwind
colors: {
  custom: {
    50: '#9286ea',
    500: '#5456df',
    950: '#000000',
  },
}
SCSS
$custom: #5456df;
$custom-light: #9286ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5456df",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 239.137,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53391,
    "c": 0.20354,
    "h": 276.4
  },
  "luminance": 0.13868
}

Semantic roles & 50–950 ramp

primary
#5456DF
secondary
#E2E1AD
accent
#CE15D0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5456DF

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

Preview Lab → · Contrast checker → · Palette generator →

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