#5474AC#5474AC

#5474AC is a mid, moderate blue. Relative luminance 0.174; OKLCH L 55.9% C 0.095 H 261.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5474AC
RGBrgb(84, 116, 172)
HSLhsl(218, 35%, 50%)
HSVhsv(218, 51%, 67%)
CMYKcmyk(51.2%, 32.6%, 0%, 32.5%)
CIE-LABlab(48.70, 4.72, -33.40)
CIE-LCHlch(48.70, 33.74, 278.05°)
OKLaboklab(55.91% -0.0147 -0.094)
OKLCHoklch(55.91% 0.095 261.1)
XYZxyz(17.3454, 17.3529, 41.4572)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474AC #AC8C54
analogous
#54A0AC #5474AC #6054AC
triadic
#5474AC #AC5474 #74AC54
tetradic
#5474AC #AC54A0 #AC8C54 #54AC60
square
#5474AC #AC54A0 #AC8C54 #54AC60
split-complementary
#5474AC #AC6054 #A0AC54
monochromatic
#2C3C5A #405883 #5474AC #7D95C0 #A6B7D4

Accessibility & contrast

On white

4.70
#5474AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5474AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5474AC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474AC#FFFFFF#000000##FFFFFF
##5474AC1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E78AE
Deuteranopia (green-blind)
#5470AB
Tritanopia (blue-blind)
#2B8088
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5474ac;
/* rgb */ color: rgb(84, 116, 172);
/* oklch */ color: oklch(55.9% 0.095 261.1);
Tailwind
colors: {
  custom: {
    50: '#899bc5',
    500: '#5474ac',
    950: '#000000',
  },
}
SCSS
$custom: #5474ac;
$custom-light: #899bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5474ac",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 172
  },
  "hsl": {
    "h": 218.182,
    "s": 34.646,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55913,
    "c": 0.0951,
    "h": 261.1
  },
  "luminance": 0.17354
}

Semantic roles & 50–950 ramp

primary
#5474AC
secondary
#C2B39A
accent
#A35DCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5474AC

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

Preview Lab → · Contrast checker → · Palette generator →

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