#54585F#54585F

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

Color values

HEX#54585F
RGBrgb(84, 88, 95)
HSLhsl(218, 6%, 35%)
HSVhsv(218, 12%, 37%)
CMYKcmyk(11.6%, 7.4%, 0%, 62.7%)
CIE-LABlab(37.28, 0.00, -4.58)
CIE-LCHlch(37.28, 4.58, 270.06°)
OKLaboklab(45.93% -0.0018 -0.0123)
OKLCHoklch(45.93% 0.012 261.8)
XYZxyz(9.2110, 9.6904, 12.2094)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54585F #5F5B54
analogous
#545D5F #54585F #56545F
triadic
#54585F #5F5458 #585F54
tetradic
#54585F #5F545D #5F5B54 #545F56
square
#54585F #5F545D #5F5B54 #545F56
split-complementary
#54585F #5F5654 #5D5F54
monochromatic
#1B1C1E #373A3F #54585F #71767F #90959D

Accessibility & contrast

On white

7.15
#54585F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#54585F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54585F
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54585F#FFFFFF#000000##FFFFFF
##54585F1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54585f;
/* rgb */ color: rgb(84, 88, 95);
/* oklch */ color: oklch(45.9% 0.012 261.8);
Tailwind
colors: {
  custom: {
    50: '#84878c',
    500: '#54585f',
    950: '#000000',
  },
}
SCSS
$custom: #54585f;
$custom-light: #84878c;
$custom-dark: #000000;
JSON
{
  "hex": "#54585f",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 95
  },
  "hsl": {
    "h": 218.182,
    "s": 6.145,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45929,
    "c": 0.01245,
    "h": 261.8
  },
  "luminance": 0.0969
}

Semantic roles & 50–950 ramp

primary
#54585F
secondary
#8D8982
accent
#9B79AF
background
#F8F8F8
surface
#EFEFF0
border
#CACACB
text
#0A0B0C
muted
#7C7C7D

Preview Lab

Preview with #54585F

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

Preview Lab → · Contrast checker → · Palette generator →

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