#5478E6#5478E6

#5478E6 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.2% C 0.171 H 267.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5478E6
RGBrgb(84, 120, 230)
HSLhsl(225, 74%, 62%)
HSVhsv(225, 63%, 90%)
CMYKcmyk(63.5%, 47.8%, 0%, 9.8%)
CIE-LABlab(52.98, 21.53, -59.72)
CIE-LCHlch(52.98, 63.48, 289.82°)
OKLaboklab(60.24% -0.0076 -0.171)
OKLCHoklch(60.24% 0.171 267.5)
XYZxyz(24.6507, 21.0287, 77.6074)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478E6 #E6C254
analogous
#54C1E6 #5478E6 #7954E6
triadic
#5478E6 #E65478 #78E654
tetradic
#5478E6 #E654C1 #E6C254 #54E679
square
#5478E6 #E654C1 #E6C254 #54E679
split-complementary
#5478E6 #E67954 #C1E654
monochromatic
#183CA7 #204FDD #5478E6 #89A2EE #BFCCF6

Accessibility & contrast

On white

4.03
#5478E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5478E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478E6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478E6#FFFFFF#000000##000000
##5478E61.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F85EA
Deuteranopia (green-blind)
#1F78E4
Tritanopia (blue-blind)
#0091A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5478e6;
/* rgb */ color: rgb(84, 120, 230);
/* oklch */ color: oklch(60.2% 0.171 267.5);
Tailwind
colors: {
  custom: {
    50: '#929eee',
    500: '#5478e6',
    950: '#000000',
  },
}
SCSS
$custom: #5478e6;
$custom-light: #929eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5478e6",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 230
  },
  "hsl": {
    "h": 225.205,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60241,
    "c": 0.17113,
    "h": 267.5
  },
  "luminance": 0.21031
}

Semantic roles & 50–950 ramp

primary
#5478E6
secondary
#E6D9B0
accent
#A50FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5478E6

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

Preview Lab → · Contrast checker → · Palette generator →

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