#5474B1#5474B1

#5474B1 is a mid, moderate blue. Relative luminance 0.175; OKLCH L 56.2% C 0.102 H 262.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5474B1
RGBrgb(84, 116, 177)
HSLhsl(219, 37%, 51%)
HSVhsv(219, 53%, 69%)
CMYKcmyk(52.5%, 34.5%, 0%, 30.6%)
CIE-LABlab(48.94, 6.32, -35.93)
CIE-LCHlch(48.94, 36.48, 279.98°)
OKLaboklab(56.18% -0.0134 -0.1013)
OKLCHoklch(56.18% 0.102 262.5)
XYZxyz(17.8347, 17.5486, 44.0339)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474B1 #B19154
analogous
#54A2B1 #5474B1 #6254B1
triadic
#5474B1 #B15474 #74B154
tetradic
#5474B1 #B154A2 #B19154 #54B162
square
#5474B1 #B154A2 #B19154 #54B162
split-complementary
#5474B1 #B16254 #A2B154
monochromatic
#2B3D5F #3F5889 #5474B1 #7E96C4 #A8B8D7

Accessibility & contrast

On white

4.66
#5474B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5474B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5474B1
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474B1#FFFFFF#000000##FFFFFF
##5474B11.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C79B4
Deuteranopia (green-blind)
#5170B0
Tritanopia (blue-blind)
#26818A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5474b1;
/* rgb */ color: rgb(84, 116, 177);
/* oklch */ color: oklch(56.2% 0.102 262.5);
Tailwind
colors: {
  custom: {
    50: '#8a9bc8',
    500: '#5474b1',
    950: '#000000',
  },
}
SCSS
$custom: #5474b1;
$custom-light: #8a9bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5474b1",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 177
  },
  "hsl": {
    "h": 219.355,
    "s": 37.349,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56181,
    "c": 0.10218,
    "h": 262.5
  },
  "luminance": 0.1755
}

Semantic roles & 50–950 ramp

primary
#5474B1
secondary
#C5B79C
accent
#A65ACD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5474B1

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

Preview Lab → · Contrast checker → · Palette generator →

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