#5478AF#5478AF

#5478AF is a mid, moderate blue. Relative luminance 0.184; OKLCH L 57.0% C 0.095 H 258.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5478AF
RGBrgb(84, 120, 175)
HSLhsl(216, 36%, 51%)
HSVhsv(216, 52%, 69%)
CMYKcmyk(52%, 31.4%, 0%, 31.4%)
CIE-LABlab(49.99, 3.26, -33.13)
CIE-LCHlch(49.99, 33.28, 275.62°)
OKLaboklab(56.97% -0.0187 -0.0931)
OKLCHoklch(56.97% 0.095 258.6)
XYZxyz(18.1079, 18.4116, 43.1487)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478AF #AF8B54
analogous
#54A5AF #5478AF #5D54AF
triadic
#5478AF #AF5478 #78AF54
tetradic
#5478AF #AF54A5 #AF8B54 #54AF5D
square
#5478AF #AF54A5 #AF8B54 #54AF5D
split-complementary
#5478AF #AF5D54 #A5AF54
monochromatic
#2C3F5D #3F5B87 #5478AF #7E99C3 #A7BAD6

Accessibility & contrast

On white

4.48
#5478AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#5478AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478AF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478AF#FFFFFF#000000##000000
##5478AF1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#627CB1
Deuteranopia (green-blind)
#5873AE
Tritanopia (blue-blind)
#27848C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5478af;
/* rgb */ color: rgb(84, 120, 175);
/* oklch */ color: oklch(57.0% 0.095 258.6);
Tailwind
colors: {
  custom: {
    50: '#8a9ec7',
    500: '#5478af',
    950: '#000000',
  },
}
SCSS
$custom: #5478af;
$custom-light: #8a9ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#5478af",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 175
  },
  "hsl": {
    "h": 216.264,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56965,
    "c": 0.09499,
    "h": 258.6
  },
  "luminance": 0.18413
}

Semantic roles & 50–950 ramp

primary
#5478AF
secondary
#C4B49B
accent
#A05CCC
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5478AF

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

Preview Lab → · Contrast checker → · Palette generator →

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