#5474B2#5474B2

#5474B2 is a mid, moderate blue. Relative luminance 0.176; OKLCH L 56.2% C 0.104 H 262.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5474B2
RGBrgb(84, 116, 178)
HSLhsl(220, 38%, 51%)
HSVhsv(220, 53%, 70%)
CMYKcmyk(52.8%, 34.8%, 0%, 30.2%)
CIE-LABlab(48.99, 6.64, -36.43)
CIE-LCHlch(48.99, 37.03, 280.33°)
OKLaboklab(56.24% -0.0131 -0.1028)
OKLCHoklch(56.24% 0.104 262.7)
XYZxyz(17.9347, 17.5887, 44.5607)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474B2 #B29254
analogous
#54A3B2 #5474B2 #6354B2
triadic
#5474B2 #B25474 #74B254
tetradic
#5474B2 #B254A3 #B29254 #54B263
square
#5474B2 #B254A3 #B29254 #54B263
split-complementary
#5474B2 #B26354 #A3B254
monochromatic
#2B3D60 #3E588A #5474B2 #7E96C5 #A8B9D8

Accessibility & contrast

On white

4.65
#5474B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5474B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5474B2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474B2#FFFFFF#000000##FFFFFF
##5474B21.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C79B5
Deuteranopia (green-blind)
#5170B1
Tritanopia (blue-blind)
#25818B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5474b2;
/* rgb */ color: rgb(84, 116, 178);
/* oklch */ color: oklch(56.2% 0.104 262.7);
Tailwind
colors: {
  custom: {
    50: '#8a9bc9',
    500: '#5474b2',
    950: '#000000',
  },
}
SCSS
$custom: #5474b2;
$custom-light: #8a9bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#5474b2",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 178
  },
  "hsl": {
    "h": 219.574,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56235,
    "c": 0.10359,
    "h": 262.7
  },
  "luminance": 0.1759
}

Semantic roles & 50–950 ramp

primary
#5474B2
secondary
#C6B89C
accent
#A65ACE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5474B2

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

Preview Lab → · Contrast checker → · Palette generator →

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