#5478CA#5478CA

#5478CA is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.5% C 0.133 H 264.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5478CA
RGBrgb(84, 120, 202)
HSLhsl(222, 53%, 56%)
HSVhsv(222, 58%, 79%)
CMYKcmyk(58.4%, 40.6%, 0%, 20.8%)
CIE-LABlab(51.36, 12.07, -46.49)
CIE-LCHlch(51.36, 48.03, 284.56°)
OKLaboklab(58.47% -0.0121 -0.1321)
OKLCHoklch(58.47% 0.133 264.7)
XYZxyz(21.0297, 19.5803, 58.5368)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478CA #CAA654
analogous
#54B3CA #5478CA #6B54CA
triadic
#5478CA #CA5478 #78CA54
tetradic
#5478CA #CA54B3 #CAA654 #54CA6B
square
#5478CA #CA54B3 #CAA654 #54CA6B
split-complementary
#5478CA #CA6B54 #B3CA54
monochromatic
#27417D #3559AC #5478CA #839DD8 #B1C2E7

Accessibility & contrast

On white

4.27
#5478CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5478CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478CA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478CA#FFFFFF#000000##000000
##5478CA1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#4575C8
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5478ca;
/* rgb */ color: rgb(84, 120, 202);
/* oklch */ color: oklch(58.5% 0.133 264.7);
Tailwind
colors: {
  custom: {
    50: '#8d9eda',
    500: '#5478ca',
    950: '#000000',
  },
}
SCSS
$custom: #5478ca;
$custom-light: #8d9eda;
$custom-dark: #000000;
JSON
{
  "hex": "#5478ca",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 221.695,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58474,
    "c": 0.13266,
    "h": 264.7
  },
  "luminance": 0.19582
}

Semantic roles & 50–950 ramp

primary
#5478CA
secondary
#D5C6A5
accent
#B04CDC
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5478CA

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

Preview Lab → · Contrast checker → · Palette generator →

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