#5456EA#5456EA

#5456EA is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.3% C 0.217 H 275.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5456EA
RGBrgb(84, 86, 234)
HSLhsl(239, 78%, 62%)
HSVhsv(239, 64%, 92%)
CMYKcmyk(64.1%, 63.2%, 0%, 8.2%)
CIE-LABlab(44.91, 43.65, -75.05)
CIE-LCHlch(44.91, 86.82, 300.18°)
OKLaboklab(54.3% 0.0219 -0.2164)
OKLCHoklch(54.3% 0.218 275.8)
XYZxyz(21.8304, 14.4791, 79.4703)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5456EA #EAE854
analogous
#54A1EA #5456EA #9D54EA
triadic
#5456EA #EA5456 #56EA54
tetradic
#5456EA #EA54A1 #EAE854 #54EA9D
square
#5456EA #EA54A1 #EAE854 #54EA9D
split-complementary
#5456EA #EA9D54 #A1EA54
monochromatic
#1517AE #1D20E3 #5456EA #8B8CF1 #C1C2F7

Accessibility & contrast

On white

5.39
#5456EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5456EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5456EA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5456EA#FFFFFF#000000##FFFFFF
##5456EA1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#0064E7
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5456ea;
/* rgb */ color: rgb(84, 86, 234);
/* oklch */ color: oklch(54.3% 0.217 275.8);
Tailwind
colors: {
  custom: {
    50: '#9486f2',
    500: '#5456ea',
    950: '#000000',
  },
}
SCSS
$custom: #5456ea;
$custom-light: #9486f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5456ea",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 239.2,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.543,
    "c": 0.2175,
    "h": 275.8
  },
  "luminance": 0.14481
}

Semantic roles & 50–950 ramp

primary
#5456EA
secondary
#E8E8B2
accent
#D80BDA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5456EA

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

Preview Lab → · Contrast checker → · Palette generator →

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