#5456EF#5456EF

#5456EF is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.7% C 0.224 H 275.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5456EF
RGBrgb(84, 86, 239)
HSLhsl(239, 83%, 63%)
HSVhsv(239, 65%, 94%)
CMYKcmyk(64.9%, 64%, 0%, 6.3%)
CIE-LABlab(45.32, 45.27, -77.20)
CIE-LCHlch(45.32, 89.50, 300.39°)
OKLaboklab(54.72% 0.0215 -0.2227)
OKLCHoklch(54.72% 0.224 275.5)
XYZxyz(22.5588, 14.7704, 83.3068)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5456EF #EFED54
analogous
#54A3EF #5456EF #9F54EF
triadic
#5456EF #EF5456 #56EF54
tetradic
#5456EF #EF54A3 #EFED54 #54EF9F
square
#5456EF #EF54A3 #EFED54 #54EF9F
split-complementary
#5456EF #EF9F54 #A3EF54
monochromatic
#1113B7 #1C1FEA #5456EF #8C8DF4 #C4C5F9

Accessibility & contrast

On white

5.31
#5456EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5456EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5456EF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5456EF#FFFFFF#000000##FFFFFF
##5456EF1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0064EC
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5456ef;
/* rgb */ color: rgb(84, 86, 239);
/* oklch */ color: oklch(54.7% 0.224 275.5);
Tailwind
colors: {
  custom: {
    50: '#9586f5',
    500: '#5456ef',
    950: '#000000',
  },
}
SCSS
$custom: #5456ef;
$custom-light: #9586f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5456ef",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 239.226,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54722,
    "c": 0.22374,
    "h": 275.5
  },
  "luminance": 0.14772
}

Semantic roles & 50–950 ramp

primary
#5456EF
secondary
#EBEAB4
accent
#DD06DF
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5456EF

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

Preview Lab → · Contrast checker → · Palette generator →

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