#5478BB#5478BB

#5478BB is a mid, moderate blue. Relative luminance 0.189; OKLCH L 57.6% C 0.112 H 262.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5478BB
RGBrgb(84, 120, 187)
HSLhsl(219, 43%, 53%)
HSVhsv(219, 55%, 73%)
CMYKcmyk(55.1%, 35.8%, 0%, 26.7%)
CIE-LABlab(50.57, 7.12, -39.14)
CIE-LCHlch(50.57, 39.78, 280.31°)
OKLaboklab(57.61% -0.0155 -0.1106)
OKLCHoklch(57.61% 0.112 262)
XYZxyz(19.3392, 18.9041, 49.6338)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478BB #BB9754
analogous
#54ABBB #5478BB #6354BB
triadic
#5478BB #BB5478 #78BB54
tetradic
#5478BB #BB54AB #BB9754 #54BB63
square
#5478BB #BB54AB #BB9754 #54BB63
split-complementary
#5478BB #BB6354 #ABBB54
monochromatic
#2A416A #3C5B96 #5478BB #809BCC #ACBDDE

Accessibility & contrast

On white

4.39
#5478BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5478BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478BB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478BB#FFFFFF#000000##000000
##5478BB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBE
Deuteranopia (green-blind)
#5074BA
Tritanopia (blue-blind)
#168791
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5478bb;
/* rgb */ color: rgb(84, 120, 187);
/* oklch */ color: oklch(57.6% 0.112 262.0);
Tailwind
colors: {
  custom: {
    50: '#8b9ed0',
    500: '#5478bb',
    950: '#000000',
  },
}
SCSS
$custom: #5478bb;
$custom-light: #8b9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#5478bb",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 219.029,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57611,
    "c": 0.1117,
    "h": 262
  },
  "luminance": 0.18906
}

Semantic roles & 50–950 ramp

primary
#5478BB
secondary
#CCBC9F
accent
#A755D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5478BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5478BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva