#5456E6#5456E6

#5456E6 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.0% C 0.212 H 276.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5456E6
RGBrgb(84, 86, 230)
HSLhsl(239, 74%, 62%)
HSVhsv(239, 63%, 90%)
CMYKcmyk(63.5%, 62.6%, 0%, 9.8%)
CIE-LABlab(44.59, 42.35, -73.31)
CIE-LCHlch(44.59, 84.67, 300.01°)
OKLaboklab(53.97% 0.0222 -0.2113)
OKLCHoklch(53.97% 0.212 276)
XYZxyz(21.2622, 14.2518, 76.4780)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5456E6 #E6E454
analogous
#549FE6 #5456E6 #9B54E6
triadic
#5456E6 #E65456 #56E654
tetradic
#5456E6 #E6549F #E6E454 #54E69B
square
#5456E6 #E6549F #E6E454 #54E69B
split-complementary
#5456E6 #E69B54 #9FE654
monochromatic
#181AA7 #2023DD #5456E6 #898BEE #BFC0F6

Accessibility & contrast

On white

5.45
#5456E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5456E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5456E6
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5456E6#FFFFFF#000000##FFFFFF
##5456E61.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0063E3
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5456e6;
/* rgb */ color: rgb(84, 86, 230);
/* oklch */ color: oklch(54.0% 0.212 276.0);
Tailwind
colors: {
  custom: {
    50: '#9486ef',
    500: '#5456e6',
    950: '#000000',
  },
}
SCSS
$custom: #5456e6;
$custom-light: #9486ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5456e6",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 239.178,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.53967,
    "c": 0.21245,
    "h": 276
  },
  "luminance": 0.14254
}

Semantic roles & 50–950 ramp

primary
#5456E6
secondary
#E6E5B0
accent
#D40FD7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5456E6

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

Preview Lab → · Contrast checker → · Palette generator →

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