#5478E7#5478E7

#5478E7 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.3% C 0.172 H 267.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5478E7
RGBrgb(84, 120, 231)
HSLhsl(225, 75%, 62%)
HSVhsv(225, 64%, 91%)
CMYKcmyk(63.6%, 48.1%, 0%, 9.4%)
CIE-LABlab(53.04, 21.87, -60.18)
CIE-LCHlch(53.04, 64.03, 289.97°)
OKLaboklab(60.31% -0.0075 -0.1723)
OKLCHoklch(60.31% 0.172 267.5)
XYZxyz(24.7915, 21.0850, 78.3491)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478E7 #E7C354
analogous
#54C2E7 #5478E7 #7A54E7
triadic
#5478E7 #E75478 #78E754
tetradic
#5478E7 #E754C2 #E7C354 #54E77A
square
#5478E7 #E754C2 #E7C354 #54E77A
split-complementary
#5478E7 #E77A54 #C2E754
monochromatic
#183BA9 #1F4EDF #5478E7 #8AA2EF #BFCDF6

Accessibility & contrast

On white

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

On black

5.22
#5478E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478E7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478E7#FFFFFF#000000##000000
##5478E71.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E86EB
Deuteranopia (green-blind)
#1D78E5
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5478e7;
/* rgb */ color: rgb(84, 120, 231);
/* oklch */ color: oklch(60.3% 0.172 267.5);
Tailwind
colors: {
  custom: {
    50: '#929eef',
    500: '#5478e7',
    950: '#000000',
  },
}
SCSS
$custom: #5478e7;
$custom-light: #929eef;
$custom-dark: #000000;
JSON
{
  "hex": "#5478e7",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 225.306,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60308,
    "c": 0.17248,
    "h": 267.5
  },
  "luminance": 0.21087
}

Semantic roles & 50–950 ramp

primary
#5478E7
secondary
#E7D9B0
accent
#A60ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5478E7

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

Preview Lab → · Contrast checker → · Palette generator →

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