#5474BA#5474BA

#5474BA is a mid, moderate blue. Relative luminance 0.179; OKLCH L 56.7% C 0.115 H 264.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#5474BA
RGBrgb(84, 116, 186)
HSLhsl(221, 43%, 53%)
HSVhsv(221, 55%, 73%)
CMYKcmyk(54.8%, 37.6%, 0%, 27.1%)
CIE-LABlab(49.40, 9.24, -40.42)
CIE-LCHlch(49.40, 41.46, 282.87°)
OKLaboklab(56.68% -0.0111 -0.1144)
OKLCHoklch(56.68% 0.115 264.4)
XYZxyz(18.7615, 17.9194, 48.9150)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474BA #BA9A54
analogous
#54A7BA #5474BA #6754BA
triadic
#5474BA #BA5474 #74BA54
tetradic
#5474BA #BA54A7 #BA9A54 #54BA67
square
#5474BA #BA54A7 #BA9A54 #54BA67
split-complementary
#5474BA #BA6754 #A7BA54
monochromatic
#2A3E69 #3C5895 #5474BA #8097CC #ABBBDD

Accessibility & contrast

On white

4.58
#5474BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5474BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474BA
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474BA#FFFFFF#000000##000000
##5474BA1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#587ABD
Deuteranopia (green-blind)
#4B71B8
Tritanopia (blue-blind)
#1A838E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5474ba;
/* rgb */ color: rgb(84, 116, 186);
/* oklch */ color: oklch(56.7% 0.115 264.4);
Tailwind
colors: {
  custom: {
    50: '#8b9bcf',
    500: '#5474ba',
    950: '#000000',
  },
}
SCSS
$custom: #5474ba;
$custom-light: #8b9bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#5474ba",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 186
  },
  "hsl": {
    "h": 221.176,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56682,
    "c": 0.11493,
    "h": 264.4
  },
  "luminance": 0.17921
}

Semantic roles & 50–950 ramp

primary
#5474BA
secondary
#CBBD9F
accent
#AB56D2
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5474BA

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

Preview Lab → · Contrast checker → · Palette generator →

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