#5478E2#5478E2

#5478E2 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.0% C 0.166 H 267.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5478E2
RGBrgb(84, 120, 226)
HSLhsl(225, 71%, 61%)
HSVhsv(225, 63%, 89%)
CMYKcmyk(62.8%, 46.9%, 0%, 11.4%)
CIE-LABlab(52.74, 20.17, -57.87)
CIE-LCHlch(52.74, 61.28, 289.21°)
OKLaboklab(59.98% -0.0081 -0.1655)
OKLCHoklch(59.98% 0.166 267.2)
XYZxyz(24.0954, 20.8066, 74.6830)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478E2 #E2BE54
analogous
#54BFE2 #5478E2 #7754E2
triadic
#5478E2 #E25478 #78E254
tetradic
#5478E2 #E254BF #E2BE54 #54E277
square
#5478E2 #E254BF #E2BE54 #54E277
split-complementary
#5478E2 #E27754 #BFE254
monochromatic
#1B3DA0 #2451D5 #5478E2 #88A1EB #BDCBF4

Accessibility & contrast

On white

4.07
#5478E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5478E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478E2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478E2#FFFFFF#000000##000000
##5478E21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4385E6
Deuteranopia (green-blind)
#2878E0
Tritanopia (blue-blind)
#0090A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5478e2;
/* rgb */ color: rgb(84, 120, 226);
/* oklch */ color: oklch(60.0% 0.166 267.2);
Tailwind
colors: {
  custom: {
    50: '#919eec',
    500: '#5478e2',
    950: '#000000',
  },
}
SCSS
$custom: #5478e2;
$custom-light: #919eec;
$custom-dark: #000000;
JSON
{
  "hex": "#5478e2",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 226
  },
  "hsl": {
    "h": 224.789,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59977,
    "c": 0.16571,
    "h": 267.2
  },
  "luminance": 0.20809
}

Semantic roles & 50–950 ramp

primary
#5478E2
secondary
#E4D6AE
accent
#A212D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5478E2

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

Preview Lab → · Contrast checker → · Palette generator →

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