#5478DC#5478DC

#5478DC is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.6% C 0.158 H 266.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5478DC
RGBrgb(84, 120, 220)
HSLhsl(224, 66%, 60%)
HSVhsv(224, 62%, 86%)
CMYKcmyk(61.8%, 45.5%, 0%, 13.7%)
CIE-LABlab(52.38, 18.13, -55.07)
CIE-LCHlch(52.38, 57.97, 288.22°)
OKLaboklab(59.59% -0.009 -0.1573)
OKLCHoklch(59.59% 0.158 266.7)
XYZxyz(23.2865, 20.4830, 70.4227)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478DC #DCB854
analogous
#54BCDC #5478DC #7454DC
triadic
#5478DC #DC5478 #78DC54
tetradic
#5478DC #DC54BC #DCB854 #54DC74
square
#5478DC #DC54BC #DCB854 #54DC74
split-complementary
#5478DC #DC7454 #BCDC54
monochromatic
#1F3F97 #2954CA #5478DC #87A0E6 #BAC8F1

Accessibility & contrast

On white

4.12
#5478DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5478DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478DC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478DC#FFFFFF#000000##000000
##5478DC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883E0
Deuteranopia (green-blind)
#3177DA
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5478dc;
/* rgb */ color: rgb(84, 120, 220);
/* oklch */ color: oklch(59.6% 0.158 266.7);
Tailwind
colors: {
  custom: {
    50: '#909ee7',
    500: '#5478dc',
    950: '#000000',
  },
}
SCSS
$custom: #5478dc;
$custom-light: #909ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5478dc",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 224.118,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59588,
    "c": 0.15754,
    "h": 266.7
  },
  "luminance": 0.20485
}

Semantic roles & 50–950 ramp

primary
#5478DC
secondary
#E0D2AC
accent
#BC3FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5478DC

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

Preview Lab → · Contrast checker → · Palette generator →

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