#5456D2#5456D2

#5456D2 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.187 H 277.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5456D2
RGBrgb(84, 86, 210)
HSLhsl(239, 58%, 58%)
HSVhsv(239, 60%, 82%)
CMYKcmyk(60%, 59%, 0%, 17.6%)
CIE-LABlab(43.05, 35.82, -64.43)
CIE-LCHlch(43.05, 73.72, 299.08°)
OKLaboklab(52.35% 0.0231 -0.1852)
OKLCHoklch(52.35% 0.187 277.1)
XYZxyz(18.6131, 13.1921, 62.5258)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5456D2 #D2D054
analogous
#5495D2 #5456D2 #9154D2
triadic
#5456D2 #D25456 #56D254
tetradic
#5456D2 #D25495 #D2D054 #54D291
square
#5456D2 #D25495 #D2D054 #54D291
split-complementary
#5456D2 #D29154 #95D254
monochromatic
#242588 #3133B8 #5456D2 #8486DF #B5B6EB

Accessibility & contrast

On white

5.77
#5456D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5456D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5456D2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5456D2#FFFFFF#000000##FFFFFF
##5456D21.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#00748C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5456d2;
/* rgb */ color: rgb(84, 86, 210);
/* oklch */ color: oklch(52.4% 0.187 277.1);
Tailwind
colors: {
  custom: {
    50: '#9086e1',
    500: '#5456d2',
    950: '#000000',
  },
}
SCSS
$custom: #5456d2;
$custom-light: #9086e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5456d2",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 239.048,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52353,
    "c": 0.18661,
    "h": 277.1
  },
  "luminance": 0.13194
}

Semantic roles & 50–950 ramp

primary
#5456D2
secondary
#DAD9A8
accent
#DF46E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5456D2

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

Preview Lab → · Contrast checker → · Palette generator →

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