#5478CD#5478CD

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

Color values

HEX#5478CD
RGBrgb(84, 120, 205)
HSLhsl(222, 55%, 57%)
HSVhsv(222, 59%, 80%)
CMYKcmyk(59%, 41.5%, 0%, 19.6%)
CIE-LABlab(51.52, 13.07, -47.94)
CIE-LCHlch(51.52, 49.69, 285.26°)
OKLaboklab(58.65% -0.0115 -0.1363)
OKLCHoklch(58.65% 0.137 265.2)
XYZxyz(21.3883, 19.7238, 60.4257)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478CD #CDA954
analogous
#54B5CD #5478CD #6D54CD
triadic
#5478CD #CD5478 #78CD54
tetradic
#5478CD #CD54B5 #CDA954 #54CD6D
square
#5478CD #CD54B5 #CDA954 #54CD6D
split-complementary
#5478CD #CD6D54 #B5CD54
monochromatic
#264181 #3459B0 #5478CD #839DDB #B3C3E9

Accessibility & contrast

On white

4.25
#5478CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5478CD#FFFFFF#000000##000000
##5478CD1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D0
Deuteranopia (green-blind)
#4276CB
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5478cd;
/* rgb */ color: rgb(84, 120, 205);
/* oklch */ color: oklch(58.7% 0.137 265.2);
Tailwind
colors: {
  custom: {
    50: '#8e9edd',
    500: '#5478cd',
    950: '#000000',
  },
}
SCSS
$custom: #5478cd;
$custom-light: #8e9edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5478cd",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 222.149,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58654,
    "c": 0.13683,
    "h": 265.2
  },
  "luminance": 0.19726
}

Semantic roles & 50–950 ramp

primary
#5478CD
secondary
#D7C8A6
accent
#B24ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5478CD

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

Preview Lab → · Contrast checker → · Palette generator →

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