#5456E4#5456E4

#5456E4 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.8% C 0.210 H 276.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5456E4
RGBrgb(84, 86, 228)
HSLhsl(239, 73%, 61%)
HSVhsv(239, 63%, 89%)
CMYKcmyk(63.2%, 62.3%, 0%, 10.6%)
CIE-LABlab(44.43, 41.70, -72.44)
CIE-LCHlch(44.43, 83.59, 299.93°)
OKLaboklab(53.8% 0.0223 -0.2087)
OKLCHoklch(53.8% 0.21 276.1)
XYZxyz(20.9830, 14.1401, 75.0073)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5456E4 #E4E254
analogous
#549EE4 #5456E4 #9A54E4
triadic
#5456E4 #E45456 #56E454
tetradic
#5456E4 #E4549E #E4E254 #54E49A
square
#5456E4 #E4549E #E4E254 #54E49A
split-complementary
#5456E4 #E49A54 #9EE454
monochromatic
#1A1CA4 #2225D9 #5456E4 #898AEC #BEBEF5

Accessibility & contrast

On white

5.49
#5456E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5456E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5456E4
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5456E4#FFFFFF#000000##FFFFFF
##5456E41.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0063E1
Tritanopia (blue-blind)
#007A95
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5456e4;
/* rgb */ color: rgb(84, 86, 228);
/* oklch */ color: oklch(53.8% 0.210 276.1);
Tailwind
colors: {
  custom: {
    50: '#9386ee',
    500: '#5456e4',
    950: '#000000',
  },
}
SCSS
$custom: #5456e4;
$custom-light: #9386ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5456e4",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 239.167,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.53801,
    "c": 0.20992,
    "h": 276.1
  },
  "luminance": 0.14142
}

Semantic roles & 50–950 ramp

primary
#5456E4
secondary
#E5E4AF
accent
#D211D5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5456E4

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

Preview Lab → · Contrast checker → · Palette generator →

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