#54585C#54585C

#54585C is a mid, near-neutral grey. Relative luminance 0.096; OKLCH L 45.8% C 0.008 H 248.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#54585C
RGBrgb(84, 88, 92)
HSLhsl(210, 5%, 35%)
HSVhsv(210, 9%, 36%)
CMYKcmyk(8.7%, 4.3%, 0%, 63.9%)
CIE-LABlab(37.18, -0.69, -2.86)
CIE-LCHlch(37.18, 2.94, 256.44°)
OKLaboklab(45.82% -0.0031 -0.0077)
OKLCHoklch(45.82% 0.008 248)
XYZxyz(9.0772, 9.6369, 11.5050)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54585C #5C5854
analogous
#545C5C #54585C #54545C
triadic
#54585C #5C5458 #585C54
tetradic
#54585C #5C545C #5C5854 #545C54
square
#54585C #5C545C #5C5854 #545C54
split-complementary
#54585C #5C5454 #5C5C54
monochromatic
#1A1B1C #37393C #54585C #71777C #90959A

Accessibility & contrast

On white

7.17
#54585C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#54585C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54585C
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54585C#FFFFFF#000000##FFFFFF
##54585C1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57585C
Deuteranopia (green-blind)
#56575C
Tritanopia (blue-blind)
#525959
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #54585c;
/* rgb */ color: rgb(84, 88, 92);
/* oklch */ color: oklch(45.8% 0.008 248.0);
Tailwind
colors: {
  custom: {
    50: '#84878a',
    500: '#54585c',
    950: '#000000',
  },
}
SCSS
$custom: #54585c;
$custom-light: #84878a;
$custom-dark: #000000;
JSON
{
  "hex": "#54585c",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 92
  },
  "hsl": {
    "h": 210,
    "s": 4.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45819,
    "c": 0.00826,
    "h": 248
  },
  "luminance": 0.09637
}

Semantic roles & 50–950 ramp

primary
#54585C
secondary
#8A8682
accent
#947AAE
background
#F8F8F8
surface
#EFEFF0
border
#CACACB
text
#0A0B0B
muted
#7C7C7C

Preview Lab

Preview with #54585C

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

Preview Lab → · Contrast checker → · Palette generator →

#54585C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva