#5478E8#5478E8

#5478E8 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.4% C 0.174 H 267.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5478E8
RGBrgb(84, 120, 232)
HSLhsl(225, 76%, 62%)
HSVhsv(225, 64%, 91%)
CMYKcmyk(63.8%, 48.3%, 0%, 9%)
CIE-LABlab(53.10, 22.21, -60.64)
CIE-LCHlch(53.10, 64.58, 290.12°)
OKLaboklab(60.37% -0.0073 -0.1737)
OKLCHoklch(60.37% 0.174 267.6)
XYZxyz(24.9331, 21.1417, 79.0951)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478E8 #E8C454
analogous
#54C2E8 #5478E8 #7A54E8
triadic
#5478E8 #E85478 #78E854
tetradic
#5478E8 #E854C2 #E8C454 #54E87A
square
#5478E8 #E854C2 #E8C454 #54E87A
split-complementary
#5478E8 #E87A54 #C2E854
monochromatic
#173BAB #1E4DE1 #5478E8 #8AA3EF #C0CDF7

Accessibility & contrast

On white

4.02
#5478E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5478E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478E8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478E8#FFFFFF#000000##000000
##5478E81.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C86EC
Deuteranopia (green-blind)
#1A78E6
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5478e8;
/* rgb */ color: rgb(84, 120, 232);
/* oklch */ color: oklch(60.4% 0.174 267.6);
Tailwind
colors: {
  custom: {
    50: '#929ef0',
    500: '#5478e8',
    950: '#000000',
  },
}
SCSS
$custom: #5478e8;
$custom-light: #929ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5478e8",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 225.405,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60374,
    "c": 0.17382,
    "h": 267.6
  },
  "luminance": 0.21144
}

Semantic roles & 50–950 ramp

primary
#5478E8
secondary
#E7DAB1
accent
#A70DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5478E8

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

Preview Lab → · Contrast checker → · Palette generator →

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