#5478BD#5478BD

#5478BD is a mid, moderate blue. Relative luminance 0.190; OKLCH L 57.7% C 0.114 H 262.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5478BD
RGBrgb(84, 120, 189)
HSLhsl(219, 44%, 54%)
HSVhsv(219, 56%, 74%)
CMYKcmyk(55.6%, 36.5%, 0%, 25.9%)
CIE-LABlab(50.68, 7.78, -40.13)
CIE-LCHlch(50.68, 40.88, 280.97°)
OKLaboklab(57.72% -0.015 -0.1135)
OKLCHoklch(57.72% 0.114 262.5)
XYZxyz(19.5548, 18.9904, 50.7693)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478BD #BD9954
analogous
#54ACBD #5478BD #6454BD
triadic
#5478BD #BD5478 #78BD54
tetradic
#5478BD #BD54AC #BD9954 #54BD64
square
#5478BD #BD54AC #BD9954 #54BD64
split-complementary
#5478BD #BD6454 #ACBD54
monochromatic
#2A416D #3B5B99 #5478BD #809BCE #ACBEDF

Accessibility & contrast

On white

4.38
#5478BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5478BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478BD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478BD#FFFFFF#000000##000000
##5478BD1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7EC0
Deuteranopia (green-blind)
#4F74BC
Tritanopia (blue-blind)
#128791
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5478bd;
/* rgb */ color: rgb(84, 120, 189);
/* oklch */ color: oklch(57.7% 0.114 262.5);
Tailwind
colors: {
  custom: {
    50: '#8b9ed1',
    500: '#5478bd',
    950: '#000000',
  },
}
SCSS
$custom: #5478bd;
$custom-light: #8b9ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5478bd",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 219.429,
    "s": 44.304,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57722,
    "c": 0.11449,
    "h": 262.5
  },
  "luminance": 0.18992
}

Semantic roles & 50–950 ramp

primary
#5478BD
secondary
#CDBDA0
accent
#A854D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0D0E14
muted
#7D7E82

Preview Lab

Preview with #5478BD

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

Preview Lab → · Contrast checker → · Palette generator →

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