#5456CA#5456CA

#5456CA is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.176 H 277.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5456CA
RGBrgb(84, 86, 202)
HSLhsl(239, 53%, 56%)
HSVhsv(239, 58%, 79%)
CMYKcmyk(58.4%, 57.4%, 0%, 20.8%)
CIE-LABlab(42.47, 33.20, -60.77)
CIE-LCHlch(42.47, 69.25, 298.65°)
OKLaboklab(51.73% 0.0232 -0.1744)
OKLCHoklch(51.73% 0.176 277.6)
XYZxyz(17.6412, 12.8034, 57.4073)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5456CA #CAC854
analogous
#5491CA #5456CA #8D54CA
triadic
#5456CA #CA5456 #56CA54
tetradic
#5456CA #CA5491 #CAC854 #54CA8D
square
#5456CA #CA5491 #CAC854 #54CA8D
split-complementary
#5456CA #CA8D54 #91CA54
monochromatic
#27287D #3537AC #5456CA #8384D8 #B1B2E7

Accessibility & contrast

On white

5.90
#5456CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5456CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5456CA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5456CA#FFFFFF#000000##FFFFFF
##5456CA1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5456ca;
/* rgb */ color: rgb(84, 86, 202);
/* oklch */ color: oklch(51.7% 0.176 277.6);
Tailwind
colors: {
  custom: {
    50: '#8f85db',
    500: '#5456ca',
    950: '#000000',
  },
}
SCSS
$custom: #5456ca;
$custom-light: #8f85db;
$custom-dark: #000000;
JSON
{
  "hex": "#5456ca",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 238.983,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51734,
    "c": 0.17596,
    "h": 277.6
  },
  "luminance": 0.12805
}

Semantic roles & 50–950 ramp

primary
#5456CA
secondary
#D5D4A5
accent
#DA4CDC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5456CA

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

Preview Lab → · Contrast checker → · Palette generator →

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