#545978#545978

#545978 is a mid, muted blue. Relative luminance 0.104; OKLCH L 47.2% C 0.051 H 277.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#545978
RGBrgb(84, 89, 120)
HSLhsl(232, 18%, 40%)
HSVhsv(232, 30%, 47%)
CMYKcmyk(30%, 25.8%, 0%, 52.9%)
CIE-LABlab(38.53, 5.78, -18.16)
CIE-LCHlch(38.53, 19.06, 287.66°)
OKLaboklab(47.22% 0.0063 -0.0501)
OKLCHoklch(47.22% 0.051 277.2)
XYZxyz(10.6178, 10.3853, 19.2108)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545978 #787354
analogous
#546B78 #545978 #615478
triadic
#545978 #785459 #597854
tetradic
#545978 #78546B #787354 #547861
square
#545978 #78546B #787354 #547861
split-complementary
#545978 #786154 #6B7854
monochromatic
#222430 #3B3E54 #545978 #6F759A #9397B3

Accessibility & contrast

On white

6.82
#545978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#545978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545978
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545978#FFFFFF#000000##FFFFFF
##5459781.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505C79
Deuteranopia (green-blind)
#4E5977
Tritanopia (blue-blind)
#4B5F64
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #545978;
/* rgb */ color: rgb(84, 89, 120);
/* oklch */ color: oklch(47.2% 0.051 277.2);
Tailwind
colors: {
  custom: {
    50: '#85879f',
    500: '#545978',
    950: '#000000',
  },
}
SCSS
$custom: #545978;
$custom-light: #85879f;
$custom-dark: #000000;
JSON
{
  "hex": "#545978",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 120
  },
  "hsl": {
    "h": 231.667,
    "s": 17.647,
    "l": 40
  },
  "oklch": {
    "l": 0.47215,
    "c": 0.05055,
    "h": 277.2
  },
  "luminance": 0.10386
}

Semantic roles & 50–950 ramp

primary
#545978
secondary
#A19D87
accent
#B06DBA
background
#F8F8F9
surface
#EFEFF2
border
#CACACC
text
#0B0B0E
muted
#7C7C7E

Preview Lab

Preview with #545978

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

Preview Lab → · Contrast checker → · Palette generator →

#545978 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva