#5456CD#5456CD

#5456CD is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.0% C 0.180 H 277.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5456CD
RGBrgb(84, 86, 205)
HSLhsl(239, 55%, 57%)
HSVhsv(239, 59%, 80%)
CMYKcmyk(59%, 58%, 0%, 19.6%)
CIE-LABlab(42.68, 34.19, -62.15)
CIE-LCHlch(42.68, 70.93, 298.82°)
OKLaboklab(51.96% 0.0232 -0.1785)
OKLCHoklch(51.96% 0.18 277.4)
XYZxyz(17.9999, 12.9468, 59.2962)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5456CD #CDCB54
analogous
#5493CD #5456CD #8F54CD
triadic
#5456CD #CD5456 #56CD54
tetradic
#5456CD #CD5493 #CDCB54 #54CD8F
square
#5456CD #CD5493 #CDCB54 #54CD8F
split-complementary
#5456CD #CD8F54 #93CD54
monochromatic
#262781 #3436B0 #5456CD #8385DB #B3B4E9

Accessibility & contrast

On white

5.85
#5456CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5456CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5456CD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5456CD#FFFFFF#000000##FFFFFF
##5456CD1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5456cd;
/* rgb */ color: rgb(84, 86, 205);
/* oklch */ color: oklch(52.0% 0.180 277.4);
Tailwind
colors: {
  custom: {
    50: '#8f85dd',
    500: '#5456cd',
    950: '#000000',
  },
}
SCSS
$custom: #5456cd;
$custom-light: #8f85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5456cd",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 239.008,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51964,
    "c": 0.17998,
    "h": 277.4
  },
  "luminance": 0.12948
}

Semantic roles & 50–950 ramp

primary
#5456CD
secondary
#D7D6A6
accent
#DC4ADE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5456CD

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

Preview Lab → · Contrast checker → · Palette generator →

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