#5478E4#5478E4

#5478E4 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.1% C 0.168 H 267.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5478E4
RGBrgb(84, 120, 228)
HSLhsl(225, 73%, 61%)
HSVhsv(225, 63%, 89%)
CMYKcmyk(63.2%, 47.4%, 0%, 10.6%)
CIE-LABlab(52.86, 20.85, -58.80)
CIE-LCHlch(52.86, 62.38, 289.52°)
OKLaboklab(60.11% -0.0078 -0.1682)
OKLCHoklch(60.11% 0.168 267.3)
XYZxyz(24.3714, 20.9170, 76.1368)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478E4 #E4C054
analogous
#54C0E4 #5478E4 #7854E4
triadic
#5478E4 #E45478 #78E454
tetradic
#5478E4 #E454C0 #E4C054 #54E478
square
#5478E4 #E454C0 #E4C054 #54E478
split-complementary
#5478E4 #E47854 #C0E454
monochromatic
#1A3CA4 #2250D9 #5478E4 #89A2EC #BECBF5

Accessibility & contrast

On white

4.05
#5478E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5478E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478E4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478E4#FFFFFF#000000##000000
##5478E41.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4185E8
Deuteranopia (green-blind)
#2478E2
Tritanopia (blue-blind)
#0091A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5478e4;
/* rgb */ color: rgb(84, 120, 228);
/* oklch */ color: oklch(60.1% 0.168 267.3);
Tailwind
colors: {
  custom: {
    50: '#919eed',
    500: '#5478e4',
    950: '#000000',
  },
}
SCSS
$custom: #5478e4;
$custom-light: #919eed;
$custom-dark: #000000;
JSON
{
  "hex": "#5478e4",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 228
  },
  "hsl": {
    "h": 225,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60108,
    "c": 0.16842,
    "h": 267.3
  },
  "luminance": 0.20919
}

Semantic roles & 50–950 ramp

primary
#5478E4
secondary
#E5D7AF
accent
#A411D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5478E4

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

Preview Lab → · Contrast checker → · Palette generator →

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