#5478CF#5478CF

#5478CF is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.8% C 0.140 H 265.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5478CF
RGBrgb(84, 120, 207)
HSLhsl(222, 56%, 57%)
HSVhsv(222, 59%, 81%)
CMYKcmyk(59.4%, 42%, 0%, 18.8%)
CIE-LABlab(51.63, 13.74, -48.90)
CIE-LCHlch(51.63, 50.79, 285.70°)
OKLaboklab(58.78% -0.0112 -0.1392)
OKLCHoklch(58.78% 0.14 265.4)
XYZxyz(21.6313, 19.8209, 61.7053)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478CF #CFAB54
analogous
#54B6CF #5478CF #6E54CF
triadic
#5478CF #CF5478 #78CF54
tetradic
#5478CF #CF54B6 #CFAB54 #54CF6E
square
#5478CF #CF54B6 #CFAB54 #54CF6E
split-complementary
#5478CF #CF6E54 #B6CF54
monochromatic
#254184 #3258B3 #5478CF #849EDC #B4C3EA

Accessibility & contrast

On white

4.23
#5478CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5478CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478CF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478CF#FFFFFF#000000##000000
##5478CF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D2
Deuteranopia (green-blind)
#4076CD
Tritanopia (blue-blind)
#008B99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5478cf;
/* rgb */ color: rgb(84, 120, 207);
/* oklch */ color: oklch(58.8% 0.140 265.4);
Tailwind
colors: {
  custom: {
    50: '#8e9ede',
    500: '#5478cf',
    950: '#000000',
  },
}
SCSS
$custom: #5478cf;
$custom-light: #8e9ede;
$custom-dark: #000000;
JSON
{
  "hex": "#5478cf",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 222.439,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58775,
    "c": 0.13961,
    "h": 265.4
  },
  "luminance": 0.19823
}

Semantic roles & 50–950 ramp

primary
#5478CF
secondary
#D8CAA6
accent
#B348DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5478CF

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

Preview Lab → · Contrast checker → · Palette generator →

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