#5478CE#5478CE

#5478CE is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.7% C 0.138 H 265.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5478CE
RGBrgb(84, 120, 206)
HSLhsl(222, 55%, 57%)
HSVhsv(222, 59%, 81%)
CMYKcmyk(59.2%, 41.7%, 0%, 19.2%)
CIE-LABlab(51.58, 13.41, -48.42)
CIE-LCHlch(51.58, 50.24, 285.48°)
OKLaboklab(58.71% -0.0114 -0.1377)
OKLCHoklch(58.71% 0.138 265.3)
XYZxyz(21.5094, 19.7722, 61.0635)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478CE #CEAA54
analogous
#54B5CE #5478CE #6D54CE
triadic
#5478CE #CE5478 #78CE54
tetradic
#5478CE #CE54B5 #CEAA54 #54CE6D
square
#5478CE #CE54B5 #CEAA54 #54CE6D
split-complementary
#5478CE #CE6D54 #B5CE54
monochromatic
#254182 #3358B2 #5478CE #849EDC #B3C3E9

Accessibility & contrast

On white

4.24
#5478CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5478CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478CE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478CE#FFFFFF#000000##000000
##5478CE1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D1
Deuteranopia (green-blind)
#4176CC
Tritanopia (blue-blind)
#008B99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5478ce;
/* rgb */ color: rgb(84, 120, 206);
/* oklch */ color: oklch(58.7% 0.138 265.3);
Tailwind
colors: {
  custom: {
    50: '#8e9edd',
    500: '#5478ce',
    950: '#000000',
  },
}
SCSS
$custom: #5478ce;
$custom-light: #8e9edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5478ce",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 222.295,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58714,
    "c": 0.13822,
    "h": 265.3
  },
  "luminance": 0.19774
}

Semantic roles & 50–950 ramp

primary
#5478CE
secondary
#D8C9A6
accent
#B349DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5478CE

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

Preview Lab → · Contrast checker → · Palette generator →

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