#5478DA#5478DA

#5478DA is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.5% C 0.155 H 266.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5478DA
RGBrgb(84, 120, 218)
HSLhsl(224, 64%, 59%)
HSVhsv(224, 61%, 85%)
CMYKcmyk(61.5%, 45%, 0%, 14.5%)
CIE-LABlab(52.26, 17.45, -54.13)
CIE-LCHlch(52.26, 56.87, 287.87°)
OKLaboklab(59.46% -0.0093 -0.1545)
OKLCHoklch(59.46% 0.155 266.6)
XYZxyz(23.0232, 20.3777, 69.0361)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478DA #DAB654
analogous
#54BBDA #5478DA #7354DA
triadic
#5478DA #DA5478 #78DA54
tetradic
#5478DA #DA54BB #DAB654 #54DA73
square
#5478DA #DA54BB #DAB654 #54DA73
split-complementary
#5478DA #DA7354 #BBDA54
monochromatic
#203F94 #2B55C6 #5478DA #86A0E5 #B9C7F0

Accessibility & contrast

On white

4.14
#5478DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5478DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478DA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478DA#FFFFFF#000000##000000
##5478DA1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A83DE
Deuteranopia (green-blind)
#3477D8
Tritanopia (blue-blind)
#008E9E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5478da;
/* rgb */ color: rgb(84, 120, 218);
/* oklch */ color: oklch(59.5% 0.155 266.6);
Tailwind
colors: {
  custom: {
    50: '#909ee6',
    500: '#5478da',
    950: '#000000',
  },
}
SCSS
$custom: #5478da;
$custom-light: #909ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#5478da",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 223.881,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5946,
    "c": 0.15479,
    "h": 266.6
  },
  "luminance": 0.2038
}

Semantic roles & 50–950 ramp

primary
#5478DA
secondary
#DFD1AB
accent
#BB40E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5478DA

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

Preview Lab → · Contrast checker → · Palette generator →

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