#54595F#54595F

#54595F is a mid, near-neutral grey. Relative luminance 0.099; OKLCH L 46.2% C 0.012 H 252.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#54595F
RGBrgb(84, 89, 95)
HSLhsl(213, 6%, 35%)
HSVhsv(213, 12%, 37%)
CMYKcmyk(11.6%, 6.3%, 0%, 62.7%)
CIE-LABlab(37.58, -0.61, -4.13)
CIE-LCHlch(37.58, 4.18, 261.61°)
OKLaboklab(46.17% -0.0034 -0.0111)
OKLCHoklch(46.17% 0.012 252.9)
XYZxyz(9.2936, 9.8557, 12.2370)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54595F #5F5A54
analogous
#545E5F #54595F #55545F
triadic
#54595F #5F5459 #595F54
tetradic
#54595F #5F545E #5F5A54 #545F55
square
#54595F #5F545E #5F5A54 #545F55
split-complementary
#54595F #5F5554 #5E5F54
monochromatic
#1B1C1E #373B3F #54595F #71777F #90969D

Accessibility & contrast

On white

7.07
#54595F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#54595F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54595F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54595F#FFFFFF#000000##FFFFFF
##54595F1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57595F
Deuteranopia (green-blind)
#56585F
Tritanopia (blue-blind)
#515A5B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #54595f;
/* rgb */ color: rgb(84, 89, 95);
/* oklch */ color: oklch(46.2% 0.012 252.9);
Tailwind
colors: {
  custom: {
    50: '#84878c',
    500: '#54595f',
    950: '#000000',
  },
}
SCSS
$custom: #54595f;
$custom-light: #84878c;
$custom-dark: #000000;
JSON
{
  "hex": "#54595f",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 95
  },
  "hsl": {
    "h": 212.727,
    "s": 6.145,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46166,
    "c": 0.01162,
    "h": 252.9
  },
  "luminance": 0.09856
}

Semantic roles & 50–950 ramp

primary
#54595F
secondary
#8D8882
accent
#9679AF
background
#F8F8F8
surface
#EFEFF0
border
#CACACB
text
#0A0B0C
muted
#7C7C7D

Preview Lab

Preview with #54595F

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

Preview Lab → · Contrast checker → · Palette generator →

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