#5478BE#5478BE

#5478BE is a mid, moderate blue. Relative luminance 0.190; OKLCH L 57.8% C 0.116 H 262.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5478BE
RGBrgb(84, 120, 190)
HSLhsl(220, 45%, 54%)
HSVhsv(220, 56%, 75%)
CMYKcmyk(55.8%, 36.8%, 0%, 25.5%)
CIE-LABlab(50.73, 8.10, -40.62)
CIE-LCHlch(50.73, 41.42, 281.28°)
OKLaboklab(57.78% -0.0148 -0.1149)
OKLCHoklch(57.78% 0.116 262.7)
XYZxyz(19.6637, 19.0339, 51.3429)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5478BE #BE9A54
analogous
#54ADBE #5478BE #6554BE
triadic
#5478BE #BE5478 #78BE54
tetradic
#5478BE #BE54AD #BE9A54 #54BE65
square
#5478BE #BE54AD #BE9A54 #54BE65
split-complementary
#5478BE #BE6554 #ADBE54
monochromatic
#2A416E #3B5B9A #5478BE #809BCF #ADBEE0

Accessibility & contrast

On white

4.37
#5478BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5478BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5478BE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5478BE#FFFFFF#000000##000000
##5478BE1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC1
Deuteranopia (green-blind)
#4E74BD
Tritanopia (blue-blind)
#0F8792
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5478be;
/* rgb */ color: rgb(84, 120, 190);
/* oklch */ color: oklch(57.8% 0.116 262.7);
Tailwind
colors: {
  custom: {
    50: '#8c9ed2',
    500: '#5478be',
    950: '#000000',
  },
}
SCSS
$custom: #5478be;
$custom-light: #8c9ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#5478be",
  "rgb": {
    "r": 84,
    "g": 120,
    "b": 190
  },
  "hsl": {
    "h": 219.623,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57778,
    "c": 0.1159,
    "h": 262.7
  },
  "luminance": 0.19035
}

Semantic roles & 50–950 ramp

primary
#5478BE
secondary
#CEBEA0
accent
#A953D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0D0E14
muted
#7D7E82

Preview Lab

Preview with #5478BE

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

Preview Lab → · Contrast checker → · Palette generator →

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