#545A5A#545A5A

#545A5A is a mid, near-neutral grey. Relative luminance 0.099; OKLCH L 46.2% C 0.008 H 196.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#545A5A
RGBrgb(84, 90, 90)
HSLhsl(180, 3%, 34%)
HSVhsv(180, 7%, 35%)
CMYKcmyk(6.7%, 0%, 0%, 64.7%)
CIE-LABlab(37.73, -2.36, -0.82)
CIE-LCHlch(37.73, 2.50, 199.07°)
OKLaboklab(46.23% -0.0073 -0.0022)
OKLCHoklch(46.23% 0.008 196.9)
XYZxyz(9.1574, 9.9352, 11.1061)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A5A #5A5454
analogous
#545A57 #545A5A #54575A
triadic
#545A5A #5A545A #5A5A54
tetradic
#545A5A #57545A #5A5454 #575A54
square
#545A5A #57545A #5A5454 #575A54
split-complementary
#545A5A #5A5457 #5A5754
monochromatic
#191B1B #363A3A #545A5A #727A7A #919898

Accessibility & contrast

On white

7.03
#545A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#545A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545A5A
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A5A#FFFFFF#000000##FFFFFF
##545A5A1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59595A
Deuteranopia (green-blind)
#58585A
Tritanopia (blue-blind)
#525A5A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #545a5a;
/* rgb */ color: rgb(84, 90, 90);
/* oklch */ color: oklch(46.2% 0.008 196.9);
Tailwind
colors: {
  custom: {
    50: '#848888',
    500: '#545a5a',
    950: '#000000',
  },
}
SCSS
$custom: #545a5a;
$custom-light: #848888;
$custom-dark: #000000;
JSON
{
  "hex": "#545a5a",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 90
  },
  "hsl": {
    "h": 180,
    "s": 3.448,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46226,
    "c": 0.0076,
    "h": 196.9
  },
  "luminance": 0.09935
}

Semantic roles & 50–950 ramp

primary
#545A5A
secondary
#888282
accent
#7B7BAD
background
#F8F8F8
surface
#EFEFEF
border
#CACACA
text
#0A0B0B
muted
#7C7C7C

Preview Lab

Preview with #545A5A

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

Preview Lab → · Contrast checker → · Palette generator →

#545A5A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva