#5478CB#5478CB

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

Color values

HEX#5478CB
RGBrgb(84, 120, 203)
HSLhsl(222, 53%, 56%)
HSVhsv(222, 59%, 80%)
CMYKcmyk(58.6%, 40.9%, 0%, 20.4%)
CIE-LABlab(51.41, 12.41, -46.97)
CIE-LCHlch(51.41, 48.58, 284.79°)
OKLaboklab(58.53% -0.0119 -0.1335)
OKLCHoklch(58.53% 0.134 264.9)
XYZxyz(21.1484, 19.6278, 59.1624)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478CB #CBA754
analogous
#54B4CB #5478CB #6C54CB
triadic
#5478CB #CB5478 #78CB54
tetradic
#5478CB #CB54B4 #CBA754 #54CB6C
square
#5478CB #CB54B4 #CBA754 #54CB6C
split-complementary
#5478CB #CB6C54 #B4CB54
monochromatic
#26417E #3559AD #5478CB #839DD9 #B2C2E8

Accessibility & contrast

On white

4.26
#5478CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5478CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478CB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478CB#FFFFFF#000000##000000
##5478CB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CE
Deuteranopia (green-blind)
#4475C9
Tritanopia (blue-blind)
#008A98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5478cb;
/* rgb */ color: rgb(84, 120, 203);
/* oklch */ color: oklch(58.5% 0.134 264.9);
Tailwind
colors: {
  custom: {
    50: '#8d9edb',
    500: '#5478cb',
    950: '#000000',
  },
}
SCSS
$custom: #5478cb;
$custom-light: #8d9edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5478cb",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 221.849,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58534,
    "c": 0.13405,
    "h": 264.9
  },
  "luminance": 0.1963
}

Semantic roles & 50–950 ramp

primary
#5478CB
secondary
#D6C7A5
accent
#B14BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5478CB

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

Preview Lab → · Contrast checker → · Palette generator →

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