#5456AF#5456AF

#5456AF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.8% C 0.139 H 279.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5456AF
RGBrgb(84, 86, 175)
HSLhsl(239, 36%, 51%)
HSVhsv(239, 52%, 69%)
CMYKcmyk(52%, 50.9%, 0%, 31.4%)
CIE-LABlab(40.63, 24.41, -47.97)
CIE-LCHlch(40.63, 53.83, 296.97°)
OKLaboklab(49.78% 0.022 -0.1368)
OKLCHoklch(49.78% 0.139 279.1)
XYZxyz(14.7194, 11.6347, 42.0192)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5456AF #AFAD54
analogous
#5483AF #5456AF #7F54AF
triadic
#5456AF #AF5456 #56AF54
tetradic
#5456AF #AF5483 #AFAD54 #54AF7F
square
#5456AF #AF5483 #AFAD54 #54AF7F
split-complementary
#5456AF #AF7F54 #83AF54
monochromatic
#2C2D5D #3F4187 #5456AF #7E7FC3 #A7A8D6

Accessibility & contrast

On white

6.31
#5456AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5456AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5456AF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5456AF#FFFFFF#000000##FFFFFF
##5456AF1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A63B2
Deuteranopia (green-blind)
#215CAD
Tritanopia (blue-blind)
#2E6A7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5456af;
/* rgb */ color: rgb(84, 86, 175);
/* oklch */ color: oklch(49.8% 0.139 279.1);
Tailwind
colors: {
  custom: {
    50: '#8b85c7',
    500: '#5456af',
    950: '#000000',
  },
}
SCSS
$custom: #5456af;
$custom-light: #8b85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5456af",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 238.681,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49778,
    "c": 0.13854,
    "h": 279.1
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#5456AF
secondary
#C4C39B
accent
#CA5CCC
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #5456AF

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

Preview Lab → · Contrast checker → · Palette generator →

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