#5474AF#5474AF

#5474AF is a mid, moderate blue. Relative luminance 0.175; OKLCH L 56.1% C 0.099 H 262.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5474AF
RGBrgb(84, 116, 175)
HSLhsl(219, 36%, 51%)
HSVhsv(219, 52%, 69%)
CMYKcmyk(52%, 33.7%, 0%, 31.4%)
CIE-LABlab(48.85, 5.68, -34.92)
CIE-LCHlch(48.85, 35.38, 279.23°)
OKLaboklab(56.07% -0.0139 -0.0984)
OKLCHoklch(56.07% 0.099 262)
XYZxyz(17.6368, 17.4695, 42.9917)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474AF #AF8F54
analogous
#54A1AF #5474AF #6154AF
triadic
#5474AF #AF5474 #74AF54
tetradic
#5474AF #AF54A1 #AF8F54 #54AF61
square
#5474AF #AF54A1 #AF8F54 #54AF61
split-complementary
#5474AF #AF6154 #A1AF54
monochromatic
#2C3D5D #3F5887 #5474AF #7E96C3 #A7B8D6

Accessibility & contrast

On white

4.67
#5474AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#5474AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5474AF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474AF#FFFFFF#000000##FFFFFF
##5474AF1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D79B1
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#288189
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5474af;
/* rgb */ color: rgb(84, 116, 175);
/* oklch */ color: oklch(56.1% 0.099 262.0);
Tailwind
colors: {
  custom: {
    50: '#8a9bc7',
    500: '#5474af',
    950: '#000000',
  },
}
SCSS
$custom: #5474af;
$custom-light: #8a9bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5474af",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 175
  },
  "hsl": {
    "h": 218.901,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56073,
    "c": 0.09934,
    "h": 262
  },
  "luminance": 0.17471
}

Semantic roles & 50–950 ramp

primary
#5474AF
secondary
#C4B59B
accent
#A55CCC
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5474AF

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

Preview Lab → · Contrast checker → · Palette generator →

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