#545478#545478

#545478 is a mid, muted blue. Relative luminance 0.096; OKLCH L 46.1% C 0.058 H 283.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#545478
RGBrgb(84, 84, 120)
HSLhsl(240, 18%, 40%)
HSVhsv(240, 30%, 47%)
CMYKcmyk(30%, 30%, 0%, 52.9%)
CIE-LABlab(37.08, 8.93, -20.39)
CIE-LCHlch(37.08, 22.27, 293.66°)
OKLaboklab(46.1% 0.014 -0.0565)
OKLCHoklch(46.1% 0.058 283.9)
XYZxyz(10.2158, 9.5813, 19.0768)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545478 #787854
analogous
#546678 #545478 #665478
triadic
#545478 #785454 #547854
tetradic
#545478 #785466 #787854 #547866
square
#545478 #785466 #787854 #547866
split-complementary
#545478 #786654 #667854
monochromatic
#222230 #3B3B54 #545478 #6F6F9A #9393B3

Accessibility & contrast

On white

7.20
#545478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#545478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545478
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545478#FFFFFF#000000##FFFFFF
##5454781.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A587A
Deuteranopia (green-blind)
#495677
Tritanopia (blue-blind)
#4B5A61
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545478;
/* rgb */ color: rgb(84, 84, 120);
/* oklch */ color: oklch(46.1% 0.058 283.9);
Tailwind
colors: {
  custom: {
    50: '#85849f',
    500: '#545478',
    950: '#000000',
  },
}
SCSS
$custom: #545478;
$custom-light: #85849f;
$custom-dark: #000000;
JSON
{
  "hex": "#545478",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 240,
    "s": 17.647,
    "l": 40
  },
  "oklch": {
    "l": 0.46095,
    "c": 0.05819,
    "h": 283.9
  },
  "luminance": 0.09582
}

Semantic roles & 50–950 ramp

primary
#545478
secondary
#A1A187
accent
#BA6DBA
background
#F8F8F9
surface
#EFEFF2
border
#CACACC
text
#0B0A0E
muted
#7C7C7E

Preview Lab

Preview with #545478

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

Preview Lab → · Contrast checker → · Palette generator →

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