#5456BC#5456BC

#5456BC is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.7% C 0.157 H 278.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5456BC
RGBrgb(84, 86, 188)
HSLhsl(239, 44%, 53%)
HSVhsv(239, 55%, 74%)
CMYKcmyk(55.3%, 54.3%, 0%, 26.3%)
CIE-LABlab(41.49, 28.63, -54.23)
CIE-LCHlch(41.49, 61.32, 297.83°)
OKLaboklab(50.69% 0.0228 -0.1552)
OKLCHoklch(50.69% 0.157 278.4)
XYZxyz(16.0582, 12.1702, 49.0701)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5456BC #BCBA54
analogous
#548ABC #5456BC #8654BC
triadic
#5456BC #BC5456 #56BC54
tetradic
#5456BC #BC548A #BCBA54 #54BC86
square
#5456BC #BC548A #BCBA54 #54BC86
split-complementary
#5456BC #BC8654 #8ABC54
monochromatic
#2A2B6B #3B3D97 #5456BC #8081CD #ACADDE

Accessibility & contrast

On white

6.11
#5456BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5456BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5456BC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5456BC#FFFFFF#000000##FFFFFF
##5456BC1.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766C0
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#206D80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5456bc;
/* rgb */ color: rgb(84, 86, 188);
/* oklch */ color: oklch(50.7% 0.157 278.4);
Tailwind
colors: {
  custom: {
    50: '#8d85d1',
    500: '#5456bc',
    950: '#000000',
  },
}
SCSS
$custom: #5456bc;
$custom-light: #8d85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5456bc",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 238.846,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50693,
    "c": 0.15685,
    "h": 278.4
  },
  "luminance": 0.12171
}

Semantic roles & 50–950 ramp

primary
#5456BC
secondary
#CCCBA0
accent
#D154D3
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5456BC

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

Preview Lab → · Contrast checker → · Palette generator →

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