#5474AE#5474AE

#5474AE is a mid, moderate blue. Relative luminance 0.174; OKLCH L 56.0% C 0.098 H 261.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5474AE
RGBrgb(84, 116, 174)
HSLhsl(219, 36%, 51%)
HSVhsv(219, 52%, 68%)
CMYKcmyk(51.7%, 33.3%, 0%, 31.8%)
CIE-LABlab(48.80, 5.36, -34.42)
CIE-LCHlch(48.80, 34.83, 278.85°)
OKLaboklab(56.02% -0.0141 -0.0969)
OKLCHoklch(56.02% 0.098 261.7)
XYZxyz(17.5390, 17.4303, 42.4764)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474AE #AE8E54
analogous
#54A1AE #5474AE #6154AE
triadic
#5474AE #AE5474 #74AE54
tetradic
#5474AE #AE54A1 #AE8E54 #54AE61
square
#5474AE #AE54A1 #AE8E54 #54AE61
split-complementary
#5474AE #AE6154 #A1AE54
monochromatic
#2C3D5C #3F5886 #5474AE #7E96C2 #A7B8D5

Accessibility & contrast

On white

4.68
#5474AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#5474AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5474AE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474AE#FFFFFF#000000##FFFFFF
##5474AE1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D78B0
Deuteranopia (green-blind)
#5370AD
Tritanopia (blue-blind)
#298189
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5474ae;
/* rgb */ color: rgb(84, 116, 174);
/* oklch */ color: oklch(56.0% 0.098 261.7);
Tailwind
colors: {
  custom: {
    50: '#8a9bc6',
    500: '#5474ae',
    950: '#000000',
  },
}
SCSS
$custom: #5474ae;
$custom-light: #8a9bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5474ae",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 174
  },
  "hsl": {
    "h": 218.667,
    "s": 35.714,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56019,
    "c": 0.09793,
    "h": 261.7
  },
  "luminance": 0.17432
}

Semantic roles & 50–950 ramp

primary
#5474AE
secondary
#C3B59B
accent
#A45CCC
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5474AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5474AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva