#5478EB#5478EB

#5478EB is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.6% C 0.178 H 267.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5478EB
RGBrgb(84, 120, 235)
HSLhsl(226, 79%, 63%)
HSVhsv(226, 64%, 92%)
CMYKcmyk(64.3%, 48.9%, 0%, 7.8%)
CIE-LABlab(53.29, 23.23, -62.02)
CIE-LCHlch(53.29, 66.23, 290.54°)
OKLaboklab(60.58% -0.007 -0.1777)
OKLCHoklch(60.58% 0.178 267.7)
XYZxyz(25.3629, 21.3136, 81.3585)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478EB #EBC754
analogous
#54C4EB #5478EB #7B54EB
triadic
#5478EB #EB5478 #78EB54
tetradic
#5478EB #EB54C4 #EBC754 #54EB7B
square
#5478EB #EB54C4 #EBC754 #54EB7B
split-complementary
#5478EB #EB7B54 #C4EB54
monochromatic
#153AB0 #1D4DE5 #5478EB #8BA3F1 #C2CFF8

Accessibility & contrast

On white

3.99
#5478EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#5478EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478EB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478EB#FFFFFF#000000##000000
##5478EB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986EF
Deuteranopia (green-blind)
#0F79E9
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5478eb;
/* rgb */ color: rgb(84, 120, 235);
/* oklch */ color: oklch(60.6% 0.178 267.7);
Tailwind
colors: {
  custom: {
    50: '#929ef2',
    500: '#5478eb',
    950: '#000000',
  },
}
SCSS
$custom: #5478eb;
$custom-light: #929ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5478eb",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 225.695,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60576,
    "c": 0.17787,
    "h": 267.7
  },
  "luminance": 0.21316
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5478EB

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

Preview Lab → · Contrast checker → · Palette generator →

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