#5456DA#5456DA

#5456DA is a mid, vivid blue. Relative luminance 0.136; OKLCH L 53.0% C 0.197 H 276.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5456DA
RGBrgb(84, 86, 218)
HSLhsl(239, 64%, 59%)
HSVhsv(239, 61%, 85%)
CMYKcmyk(61.5%, 60.6%, 0%, 14.5%)
CIE-LABlab(43.65, 38.44, -68.02)
CIE-LCHlch(43.65, 78.13, 299.47°)
OKLaboklab(52.99% 0.0228 -0.1958)
OKLCHoklch(52.99% 0.197 276.7)
XYZxyz(19.6347, 13.6008, 67.9066)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5456DA #DAD854
analogous
#5499DA #5456DA #9554DA
triadic
#5456DA #DA5456 #56DA54
tetradic
#5456DA #DA5499 #DAD854 #54DA95
square
#5456DA #DA5499 #DAD854 #54DA95
split-complementary
#5456DA #DA9554 #99DA54
monochromatic
#202294 #2B2DC6 #5456DA #8688E5 #B9B9F0

Accessibility & contrast

On white

5.64
#5456DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5456DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5456DA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5456DA#FFFFFF#000000##FFFFFF
##5456DA1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0061D7
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5456da;
/* rgb */ color: rgb(84, 86, 218);
/* oklch */ color: oklch(53.0% 0.197 276.7);
Tailwind
colors: {
  custom: {
    50: '#9186e6',
    500: '#5456da',
    950: '#000000',
  },
}
SCSS
$custom: #5456da;
$custom-light: #9186e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5456da",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 218
  },
  "hsl": {
    "h": 239.104,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52987,
    "c": 0.19709,
    "h": 276.7
  },
  "luminance": 0.13602
}

Semantic roles & 50–950 ramp

primary
#5456DA
secondary
#DFDEAB
accent
#E540E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5456DA

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

Preview Lab → · Contrast checker → · Palette generator →

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