#5474A2#5474A2

#5474A2 is a mid, moderate blue. Relative luminance 0.170; OKLCH L 55.4% C 0.081 H 257.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5474A2
RGBrgb(84, 116, 162)
HSLhsl(215, 32%, 48%)
HSVhsv(215, 48%, 64%)
CMYKcmyk(48.1%, 28.4%, 0%, 36.5%)
CIE-LABlab(48.24, 1.59, -28.29)
CIE-LCHlch(48.24, 28.33, 273.21°)
OKLaboklab(55.4% -0.0176 -0.0792)
OKLCHoklch(55.4% 0.081 257.4)
XYZxyz(16.4210, 16.9831, 36.5882)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474A2 #A28254
analogous
#549BA2 #5474A2 #5B54A2
triadic
#5474A2 #A25474 #74A254
tetradic
#5474A2 #A2549B #A28254 #54A25B
square
#5474A2 #A2549B #A28254 #54A25B
split-complementary
#5474A2 #A25B54 #9BA254
monochromatic
#2A3A51 #3F577A #5474A2 #7994BA #A2B4CF

Accessibility & contrast

On white

4.78
#5474A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5474A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5474A2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474A2#FFFFFF#000000##FFFFFF
##5474A21.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6277A4
Deuteranopia (green-blind)
#596FA1
Tritanopia (blue-blind)
#337E84
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5474a2;
/* rgb */ color: rgb(84, 116, 162);
/* oklch */ color: oklch(55.4% 0.081 257.4);
Tailwind
colors: {
  custom: {
    50: '#889bbd',
    500: '#5474a2',
    950: '#000000',
  },
}
SCSS
$custom: #5474a2;
$custom-light: #889bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#5474a2",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 162
  },
  "hsl": {
    "h": 215.385,
    "s": 31.707,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55399,
    "c": 0.08111,
    "h": 257.4
  },
  "luminance": 0.16984
}

Semantic roles & 50–950 ramp

primary
#5474A2
secondary
#BCAC96
accent
#9D60C8
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #5474A2

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

Preview Lab → · Contrast checker → · Palette generator →

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