#5456E5#5456E5

#5456E5 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.9% C 0.211 H 276.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5456E5
RGBrgb(84, 86, 229)
HSLhsl(239, 74%, 61%)
HSVhsv(239, 63%, 90%)
CMYKcmyk(63.3%, 62.4%, 0%, 10.2%)
CIE-LABlab(44.51, 42.03, -72.88)
CIE-LCHlch(44.51, 84.13, 299.97°)
OKLaboklab(53.88% 0.0223 -0.21)
OKLCHoklch(53.88% 0.211 276.1)
XYZxyz(21.1222, 14.1958, 75.7405)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5456E5 #E5E354
analogous
#549FE5 #5456E5 #9B54E5
triadic
#5456E5 #E55456 #56E554
tetradic
#5456E5 #E5549F #E5E354 #54E59B
square
#5456E5 #E5549F #E5E354 #54E59B
split-complementary
#5456E5 #E59B54 #9FE554
monochromatic
#191BA5 #2124DB #5456E5 #898BED #BEBFF5

Accessibility & contrast

On white

5.47
#5456E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5456E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5456E5
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5456E5#FFFFFF#000000##FFFFFF
##5456E51.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0063E2
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5456e5;
/* rgb */ color: rgb(84, 86, 229);
/* oklch */ color: oklch(53.9% 0.211 276.1);
Tailwind
colors: {
  custom: {
    50: '#9386ee',
    500: '#5456e5',
    950: '#000000',
  },
}
SCSS
$custom: #5456e5;
$custom-light: #9386ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5456e5",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 239.172,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53884,
    "c": 0.21119,
    "h": 276.1
  },
  "luminance": 0.14198
}

Semantic roles & 50–950 ramp

primary
#5456E5
secondary
#E6E5AF
accent
#D310D6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #5456E5

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

Preview Lab → · Contrast checker → · Palette generator →

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