#5478EC#5478EC

#5478EC is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.6% C 0.179 H 267.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5478EC
RGBrgb(84, 120, 236)
HSLhsl(226, 80%, 63%)
HSVhsv(226, 64%, 93%)
CMYKcmyk(64.4%, 49.2%, 0%, 7.5%)
CIE-LABlab(53.35, 23.58, -62.48)
CIE-LCHlch(53.35, 66.78, 290.67°)
OKLaboklab(60.64% -0.0069 -0.1791)
OKLCHoklch(60.64% 0.179 267.8)
XYZxyz(25.5078, 21.3715, 82.1215)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478EC #ECC854
analogous
#54C4EC #5478EC #7C54EC
triadic
#5478EC #EC5478 #78EC54
tetradic
#5478EC #EC54C4 #ECC854 #54EC7C
square
#5478EC #EC54C4 #ECC854 #54EC7C
split-complementary
#5478EC #EC7C54 #C4EC54
monochromatic
#1439B2 #1D4DE6 #5478EC #8BA3F2 #C2CFF8

Accessibility & contrast

On white

3.98
#5478EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5478EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478EC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478EC#FFFFFF#000000##000000
##5478EC1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F0
Deuteranopia (green-blind)
#0A79EA
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5478ec;
/* rgb */ color: rgb(84, 120, 236);
/* oklch */ color: oklch(60.6% 0.179 267.8);
Tailwind
colors: {
  custom: {
    50: '#939ef3',
    500: '#5478ec',
    950: '#000000',
  },
}
SCSS
$custom: #5478ec;
$custom-light: #939ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5478ec",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 225.789,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60644,
    "c": 0.1792,
    "h": 267.8
  },
  "luminance": 0.21374
}

Semantic roles & 50–950 ramp

primary
#5478EC
secondary
#E9DCB2
accent
#AA09DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5478EC

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

Preview Lab → · Contrast checker → · Palette generator →

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