#5456FF#5456FF

#5456FF is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.1% C 0.243 H 274.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5456FF
RGBrgb(84, 86, 255)
HSLhsl(239, 100%, 66%)
HSVhsv(239, 67%, 100%)
CMYKcmyk(67.1%, 66.3%, 0%, 0%)
CIE-LABlab(46.66, 50.41, -83.96)
CIE-LCHlch(46.66, 97.93, 300.98°)
OKLaboklab(56.1% 0.02 -0.2425)
OKLCHoklch(56.1% 0.243 274.7)
XYZxyz(25.0280, 15.7581, 96.3110)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5456FF #FFFD54
analogous
#54ACFF #5456FF #A854FF
triadic
#5456FF #FF5456 #56FF54
tetradic
#5456FF #FF54AC #FFFD54 #54FFA8
square
#5456FF #FF54AC #FFFD54 #54FFA8
split-complementary
#5456FF #FFA854 #ACFF54
monochromatic
#0003D9 #171AFF #5456FF #9192FF #CECFFF

Accessibility & contrast

On white

5.06
#5456FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5456FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5456FF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5456FF#FFFFFF#000000##FFFFFF
##5456FF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0067FC
Tritanopia (blue-blind)
#0083A3
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5456ff;
/* rgb */ color: rgb(84, 86, 255);
/* oklch */ color: oklch(56.1% 0.243 274.7);
Tailwind
colors: {
  custom: {
    50: '#9886ff',
    500: '#5456ff',
    950: '#000000',
  },
}
SCSS
$custom: #5456ff;
$custom-light: #9886ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5456ff",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 255
  },
  "hsl": {
    "h": 239.298,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.56104,
    "c": 0.24331,
    "h": 274.7
  },
  "luminance": 0.1576
}

Semantic roles & 50–950 ramp

primary
#5456FF
secondary
#F3F2BC
accent
#E300E6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5456FF

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

Preview Lab → · Contrast checker → · Palette generator →

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