#5478EE#5478EE

#5478EE is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.8% C 0.182 H 267.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5478EE
RGBrgb(84, 120, 238)
HSLhsl(226, 82%, 63%)
HSVhsv(226, 65%, 93%)
CMYKcmyk(64.7%, 49.6%, 0%, 6.7%)
CIE-LABlab(53.48, 24.26, -63.39)
CIE-LCHlch(53.48, 67.87, 290.94°)
OKLaboklab(60.78% -0.0067 -0.1818)
OKLCHoklch(60.78% 0.182 267.9)
XYZxyz(25.8000, 21.4884, 83.6604)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478EE #EECA54
analogous
#54C5EE #5478EE #7D54EE
triadic
#5478EE #EE5478 #78EE54
tetradic
#5478EE #EE54C5 #EECA54 #54EE7D
square
#5478EE #EE54C5 #EECA54 #54EE7D
split-complementary
#5478EE #EE7D54 #C5EE54
monochromatic
#1238B6 #1C4CE8 #5478EE #8CA4F4 #C3D0F9

Accessibility & contrast

On white

3.96
#5478EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5478EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478EE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478EE#FFFFFF#000000##000000
##5478EE1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3587F2
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5478ee;
/* rgb */ color: rgb(84, 120, 238);
/* oklch */ color: oklch(60.8% 0.182 267.9);
Tailwind
colors: {
  custom: {
    50: '#939ef4',
    500: '#5478ee',
    950: '#000000',
  },
}
SCSS
$custom: #5478ee;
$custom-light: #939ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#5478ee",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 225.974,
    "s": 81.915,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60781,
    "c": 0.18188,
    "h": 267.9
  },
  "luminance": 0.21491
}

Semantic roles & 50–950 ramp

primary
#5478EE
secondary
#EADEB3
accent
#AC07DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5478EE

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

Preview Lab → · Contrast checker → · Palette generator →

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