#54585E#54585E

#54585E is a mid, near-neutral grey. Relative luminance 0.097; OKLCH L 45.9% C 0.011 H 258.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#54585E
RGBrgb(84, 88, 94)
HSLhsl(216, 6%, 35%)
HSVhsv(216, 11%, 37%)
CMYKcmyk(10.6%, 6.4%, 0%, 63.1%)
CIE-LABlab(37.25, -0.23, -4.01)
CIE-LCHlch(37.25, 4.01, 266.74°)
OKLaboklab(45.89% -0.0022 -0.0108)
OKLCHoklch(45.89% 0.011 258.3)
XYZxyz(9.1658, 9.6723, 11.9716)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54585E #5E5A54
analogous
#545D5E #54585E #55545E
triadic
#54585E #5E5458 #585E54
tetradic
#54585E #5E545D #5E5A54 #545E55
square
#54585E #5E545D #5E5A54 #545E55
split-complementary
#54585E #5E5554 #5D5E54
monochromatic
#1A1B1D #373A3E #54585E #71767E #90959C

Accessibility & contrast

On white

7.16
#54585E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54585E
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54585E#FFFFFF#000000##FFFFFF
##54585E1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56585E
Deuteranopia (green-blind)
#55575E
Tritanopia (blue-blind)
#52595A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #54585e;
/* rgb */ color: rgb(84, 88, 94);
/* oklch */ color: oklch(45.9% 0.011 258.3);
Tailwind
colors: {
  custom: {
    50: '#84878b',
    500: '#54585e',
    950: '#000000',
  },
}
SCSS
$custom: #54585e;
$custom-light: #84878b;
$custom-dark: #000000;
JSON
{
  "hex": "#54585e",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 94
  },
  "hsl": {
    "h": 216,
    "s": 5.618,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45892,
    "c": 0.01099,
    "h": 258.3
  },
  "luminance": 0.09672
}

Semantic roles & 50–950 ramp

primary
#54585E
secondary
#8C8882
accent
#9979AF
background
#F8F8F8
surface
#EFEFF0
border
#CACACB
text
#0A0B0C
muted
#7C7C7D

Preview Lab

Preview with #54585E

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

Preview Lab → · Contrast checker → · Palette generator →

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