#5456D4#5456D4

#5456D4 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.189 H 277.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5456D4
RGBrgb(84, 86, 212)
HSLhsl(239, 60%, 58%)
HSVhsv(239, 60%, 83%)
CMYKcmyk(60.4%, 59.4%, 0%, 16.9%)
CIE-LABlab(43.20, 36.48, -65.33)
CIE-LCHlch(43.20, 74.82, 299.18°)
OKLaboklab(52.51% 0.023 -0.1878)
OKLCHoklch(52.51% 0.189 277)
XYZxyz(18.8638, 13.2924, 63.8462)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5456D4 #D4D254
analogous
#5496D4 #5456D4 #9254D4
triadic
#5456D4 #D45456 #56D454
tetradic
#5456D4 #D45496 #D4D254 #54D492
square
#5456D4 #D45496 #D4D254 #54D492
split-complementary
#5456D4 #D49254 #96D454
monochromatic
#23258B #2F31BC #5456D4 #8586E0 #B6B7ED

Accessibility & contrast

On white

5.74
#5456D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5456D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5456D4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5456D4#FFFFFF#000000##FFFFFF
##5456D41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#0061D1
Tritanopia (blue-blind)
#00758D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5456d4;
/* rgb */ color: rgb(84, 86, 212);
/* oklch */ color: oklch(52.5% 0.189 277.0);
Tailwind
colors: {
  custom: {
    50: '#9086e2',
    500: '#5456d4',
    950: '#000000',
  },
}
SCSS
$custom: #5456d4;
$custom-light: #9086e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5456d4",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 212
  },
  "hsl": {
    "h": 239.063,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5251,
    "c": 0.18925,
    "h": 277
  },
  "luminance": 0.13294
}

Semantic roles & 50–950 ramp

primary
#5456D4
secondary
#DBDBA8
accent
#E145E3
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B15
muted
#7E7C84

Preview Lab

Preview with #5456D4

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

Preview Lab → · Contrast checker → · Palette generator →

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