#5478B2#5478B2

#5478B2 is a mid, moderate blue. Relative luminance 0.185; OKLCH L 57.1% C 0.099 H 259.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5478B2
RGBrgb(84, 120, 178)
HSLhsl(217, 38%, 51%)
HSVhsv(217, 53%, 70%)
CMYKcmyk(52.8%, 32.6%, 0%, 30.2%)
CIE-LABlab(50.13, 4.22, -34.64)
CIE-LCHlch(50.13, 34.90, 276.94°)
OKLaboklab(57.12% -0.0179 -0.0975)
OKLCHoklch(57.12% 0.099 259.6)
XYZxyz(18.4058, 18.5307, 44.7177)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478B2 #B28E54
analogous
#54A7B2 #5478B2 #5F54B2
triadic
#5478B2 #B25478 #78B254
tetradic
#5478B2 #B254A7 #B28E54 #54B25F
square
#5478B2 #B254A7 #B28E54 #54B25F
split-complementary
#5478B2 #B25F54 #A7B254
monochromatic
#2B4060 #3E5B8A #5478B2 #7E99C5 #A8BBD8

Accessibility & contrast

On white

4.46
#5478B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5478B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478B2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478B2#FFFFFF#000000##000000
##5478B21.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)
#617CB4
Deuteranopia (green-blind)
#5673B1
Tritanopia (blue-blind)
#24858D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5478b2;
/* rgb */ color: rgb(84, 120, 178);
/* oklch */ color: oklch(57.1% 0.099 259.6);
Tailwind
colors: {
  custom: {
    50: '#8a9ec9',
    500: '#5478b2',
    950: '#000000',
  },
}
SCSS
$custom: #5478b2;
$custom-light: #8a9ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#5478b2",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 178
  },
  "hsl": {
    "h": 217.021,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57123,
    "c": 0.09915,
    "h": 259.6
  },
  "luminance": 0.18532
}

Semantic roles & 50–950 ramp

primary
#5478B2
secondary
#C6B69C
accent
#A15ACE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5478B2

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

Preview Lab → · Contrast checker → · Palette generator →

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