#5456C8#5456C8

#5456C8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.6% C 0.173 H 277.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5456C8
RGBrgb(84, 86, 200)
HSLhsl(239, 51%, 56%)
HSVhsv(239, 58%, 78%)
CMYKcmyk(58%, 57%, 0%, 21.6%)
CIE-LABlab(42.32, 32.55, -59.85)
CIE-LCHlch(42.32, 68.13, 298.54°)
OKLaboklab(51.58% 0.0231 -0.1717)
OKLCHoklch(51.58% 0.173 277.7)
XYZxyz(17.4059, 12.7093, 56.1683)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5456C8 #C8C654
analogous
#5490C8 #5456C8 #8C54C8
triadic
#5456C8 #C85456 #56C854
tetradic
#5456C8 #C85490 #C8C654 #54C88C
square
#5456C8 #C85490 #C8C654 #54C88C
split-complementary
#5456C8 #C88C54 #90C854
monochromatic
#27297A #3638A9 #5456C8 #8284D7 #B1B2E6

Accessibility & contrast

On white

5.93
#5456C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5456C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5456C8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5456C8#FFFFFF#000000##FFFFFF
##5456C81.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#037186
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5456c8;
/* rgb */ color: rgb(84, 86, 200);
/* oklch */ color: oklch(51.6% 0.173 277.7);
Tailwind
colors: {
  custom: {
    50: '#8e85d9',
    500: '#5456c8',
    950: '#000000',
  },
}
SCSS
$custom: #5456c8;
$custom-light: #8e85d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5456c8",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 238.966,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51582,
    "c": 0.17327,
    "h": 277.7
  },
  "luminance": 0.12711
}

Semantic roles & 50–950 ramp

primary
#5456C8
secondary
#D4D3A4
accent
#D84DDB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5456C8

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

Preview Lab → · Contrast checker → · Palette generator →

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