#5478ED#5478ED

#5478ED is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.7% C 0.181 H 267.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5478ED
RGBrgb(84, 120, 237)
HSLhsl(226, 81%, 63%)
HSVhsv(226, 65%, 93%)
CMYKcmyk(64.6%, 49.4%, 0%, 7.1%)
CIE-LABlab(53.42, 23.92, -62.93)
CIE-LCHlch(53.42, 67.32, 290.81°)
OKLaboklab(60.71% -0.0068 -0.1804)
OKLCHoklch(60.71% 0.181 267.9)
XYZxyz(25.6534, 21.4298, 82.8888)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478ED #EDC954
analogous
#54C5ED #5478ED #7C54ED
triadic
#5478ED #ED5478 #78ED54
tetradic
#5478ED #ED54C5 #EDC954 #54ED7C
square
#5478ED #ED54C5 #EDC954 #54ED7C
split-complementary
#5478ED #ED7C54 #C5ED54
monochromatic
#1339B4 #1D4CE7 #5478ED #8BA4F3 #C3CFF9

Accessibility & contrast

On white

3.97
#5478ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5478ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478ED
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478ED#FFFFFF#000000##000000
##5478ED1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3787F1
Deuteranopia (green-blind)
#0479EB
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5478ed;
/* rgb */ color: rgb(84, 120, 237);
/* oklch */ color: oklch(60.7% 0.181 267.9);
Tailwind
colors: {
  custom: {
    50: '#939ef3',
    500: '#5478ed',
    950: '#000000',
  },
}
SCSS
$custom: #5478ed;
$custom-light: #939ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5478ed",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 225.882,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60712,
    "c": 0.18054,
    "h": 267.9
  },
  "luminance": 0.21432
}

Semantic roles & 50–950 ramp

primary
#5478ED
secondary
#EADDB3
accent
#AB08DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5478ED

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

Preview Lab → · Contrast checker → · Palette generator →

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