#5474CC#5474CC

#5474CC is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.8% C 0.140 H 267.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5474CC
RGBrgb(84, 116, 204)
HSLhsl(224, 54%, 56%)
HSVhsv(224, 59%, 80%)
CMYKcmyk(58.8%, 43.1%, 0%, 20%)
CIE-LABlab(50.37, 15.20, -49.20)
CIE-LCHlch(50.37, 51.49, 287.17°)
OKLaboklab(57.75% -0.0075 -0.1401)
OKLCHoklch(57.75% 0.14 267)
XYZxyz(20.7969, 18.7335, 59.6350)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474CC #CCAC54
analogous
#54B0CC #5474CC #7054CC
triadic
#5474CC #CC5474 #74CC54
tetradic
#5474CC #CC54B0 #CCAC54 #54CC70
square
#5474CC #CC54B0 #CCAC54 #54CC70
split-complementary
#5474CC #CC7054 #B0CC54
monochromatic
#263E80 #3455AF #5474CC #839ADA #B2C1E8

Accessibility & contrast

On white

4.42
#5474CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5474CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474CC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474CC#FFFFFF#000000##000000
##5474CC1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ECF
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5474cc;
/* rgb */ color: rgb(84, 116, 204);
/* oklch */ color: oklch(57.8% 0.140 267.0);
Tailwind
colors: {
  custom: {
    50: '#8e9bdc',
    500: '#5474cc',
    950: '#000000',
  },
}
SCSS
$custom: #5474cc;
$custom-light: #8e9bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5474cc",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 224,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57751,
    "c": 0.14029,
    "h": 267
  },
  "luminance": 0.18735
}

Semantic roles & 50–950 ramp

primary
#5474CC
secondary
#D7C9A5
accent
#B64ADD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5474CC

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

Preview Lab → · Contrast checker → · Palette generator →

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