#5456D8#5456D8

#5456D8 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.8% C 0.194 H 276.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5456D8
RGBrgb(84, 86, 216)
HSLhsl(239, 63%, 59%)
HSVhsv(239, 61%, 85%)
CMYKcmyk(61.1%, 60.2%, 0%, 15.3%)
CIE-LABlab(43.50, 37.79, -67.13)
CIE-LCHlch(43.50, 77.03, 299.38°)
OKLaboklab(52.83% 0.0229 -0.1931)
OKLCHoklch(52.83% 0.194 276.8)
XYZxyz(19.3746, 13.4967, 66.5366)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5456D8 #D8D654
analogous
#5498D8 #5456D8 #9454D8
triadic
#5456D8 #D85456 #56D854
tetradic
#5456D8 #D85498 #D8D654 #54D894
square
#5456D8 #D85498 #D8D654 #54D894
split-complementary
#5456D8 #D89454 #98D854
monochromatic
#212391 #2C2FC2 #5456D8 #8687E3 #B8B9EF

Accessibility & contrast

On white

5.68
#5456D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5456D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5456D8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5456D8#FFFFFF#000000##FFFFFF
##5456D81.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#00768F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5456d8;
/* rgb */ color: rgb(84, 86, 216);
/* oklch */ color: oklch(52.8% 0.194 276.8);
Tailwind
colors: {
  custom: {
    50: '#9186e5',
    500: '#5456d8',
    950: '#000000',
  },
}
SCSS
$custom: #5456d8;
$custom-light: #9186e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5456d8",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 216
  },
  "hsl": {
    "h": 239.091,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52827,
    "c": 0.19449,
    "h": 276.8
  },
  "luminance": 0.13498
}

Semantic roles & 50–950 ramp

primary
#5456D8
secondary
#DEDDAA
accent
#E342E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5456D8

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

Preview Lab → · Contrast checker → · Palette generator →

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