#5456CC#5456CC

#5456CC is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.179 H 277.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5456CC
RGBrgb(84, 86, 204)
HSLhsl(239, 54%, 56%)
HSVhsv(239, 59%, 80%)
CMYKcmyk(58.8%, 57.8%, 0%, 20%)
CIE-LABlab(42.61, 33.86, -61.69)
CIE-LCHlch(42.61, 70.37, 298.76°)
OKLaboklab(51.89% 0.0232 -0.1771)
OKLCHoklch(51.89% 0.179 277.4)
XYZxyz(17.8795, 12.8987, 58.6626)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5456CC #CCCA54
analogous
#5492CC #5456CC #8E54CC
triadic
#5456CC #CC5456 #56CC54
tetradic
#5456CC #CC5492 #CCCA54 #54CC8E
square
#5456CC #CC5492 #CCCA54 #54CC8E
split-complementary
#5456CC #CC8E54 #92CC54
monochromatic
#262880 #3436AF #5456CC #8385DA #B2B3E8

Accessibility & contrast

On white

5.87
#5456CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5456CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5456CC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5456CC#FFFFFF#000000##FFFFFF
##5456CC1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5456cc;
/* rgb */ color: rgb(84, 86, 204);
/* oklch */ color: oklch(51.9% 0.179 277.4);
Tailwind
colors: {
  custom: {
    50: '#8f85dc',
    500: '#5456cc',
    950: '#000000',
  },
}
SCSS
$custom: #5456cc;
$custom-light: #8f85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5456cc",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 239,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51887,
    "c": 0.17865,
    "h": 277.4
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#5456CC
secondary
#D7D6A5
accent
#DB4ADD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5456CC

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

Preview Lab → · Contrast checker → · Palette generator →

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