#5474C8#5474C8

#5474C8 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.5% C 0.135 H 266.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5474C8
RGBrgb(84, 116, 200)
HSLhsl(223, 51%, 56%)
HSVhsv(223, 58%, 78%)
CMYKcmyk(58%, 42%, 0%, 21.6%)
CIE-LABlab(50.15, 13.86, -47.27)
CIE-LCHlch(50.15, 49.26, 286.34°)
OKLaboklab(57.51% -0.0082 -0.1344)
OKLCHoklch(57.51% 0.135 266.5)
XYZxyz(20.3233, 18.5441, 57.1408)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474C8 #C8A854
analogous
#54AEC8 #5474C8 #6E54C8
triadic
#5474C8 #C85474 #74C854
tetradic
#5474C8 #C854AE #C8A854 #54C86E
square
#5474C8 #C854AE #C8A854 #54C86E
split-complementary
#5474C8 #C86E54 #AEC854
monochromatic
#273E7A #3656A9 #5474C8 #829AD7 #B1BFE6

Accessibility & contrast

On white

4.46
#5474C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5474C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474C8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474C8#FFFFFF#000000##000000
##5474C81.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7DCB
Deuteranopia (green-blind)
#4072C6
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5474c8;
/* rgb */ color: rgb(84, 116, 200);
/* oklch */ color: oklch(57.5% 0.135 266.5);
Tailwind
colors: {
  custom: {
    50: '#8d9bd9',
    500: '#5474c8',
    950: '#000000',
  },
}
SCSS
$custom: #5474c8;
$custom-light: #8d9bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5474c8",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 223.448,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57506,
    "c": 0.13469,
    "h": 266.5
  },
  "luminance": 0.18546
}

Semantic roles & 50–950 ramp

primary
#5474C8
secondary
#D4C7A4
accent
#B44DDB
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5474C8

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

Preview Lab → · Contrast checker → · Palette generator →

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