#5474CD#5474CD

#5474CD is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.8% C 0.142 H 267.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5474CD
RGBrgb(84, 116, 205)
HSLhsl(224, 55%, 57%)
HSVhsv(224, 59%, 80%)
CMYKcmyk(59%, 43.4%, 0%, 19.6%)
CIE-LABlab(50.43, 15.53, -49.68)
CIE-LCHlch(50.43, 52.05, 287.36°)
OKLaboklab(57.81% -0.0073 -0.1415)
OKLCHoklch(57.81% 0.142 267.1)
XYZxyz(20.9173, 18.7817, 60.2687)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474CD #CDAD54
analogous
#54B1CD #5474CD #7154CD
triadic
#5474CD #CD5474 #74CD54
tetradic
#5474CD #CD54B1 #CDAD54 #54CD71
square
#5474CD #CD54B1 #CDAD54 #54CD71
split-complementary
#5474CD #CD7154 #B1CD54
monochromatic
#263E81 #3455B0 #5474CD #839ADB #B3C1E9

Accessibility & contrast

On white

4.41
#5474CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5474CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474CD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474CD#FFFFFF#000000##000000
##5474CD1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5474cd;
/* rgb */ color: rgb(84, 116, 205);
/* oklch */ color: oklch(57.8% 0.142 267.1);
Tailwind
colors: {
  custom: {
    50: '#8e9bdd',
    500: '#5474cd',
    950: '#000000',
  },
}
SCSS
$custom: #5474cd;
$custom-light: #8e9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5474cd",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 224.132,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57813,
    "c": 0.14169,
    "h": 267.1
  },
  "luminance": 0.18783
}

Semantic roles & 50–950 ramp

primary
#5474CD
secondary
#D7CAA6
accent
#B74ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5474CD

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

Preview Lab → · Contrast checker → · Palette generator →

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