#54575F#54575F

#54575F is a mid, near-neutral grey. Relative luminance 0.095; OKLCH L 45.7% C 0.014 H 269.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#54575F
RGBrgb(84, 87, 95)
HSLhsl(224, 6%, 35%)
HSVhsv(224, 12%, 37%)
CMYKcmyk(11.6%, 8.4%, 0%, 62.7%)
CIE-LABlab(36.98, 0.62, -5.03)
CIE-LCHlch(36.98, 5.07, 277.04°)
OKLaboklab(45.69% -0.0001 -0.0135)
OKLCHoklch(45.69% 0.014 269.4)
XYZxyz(9.1295, 9.5273, 12.1822)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54575F #5F5C54
analogous
#545C5F #54575F #56545F
triadic
#54575F #5F5457 #575F54
tetradic
#54575F #5F545C #5F5C54 #545F56
square
#54575F #5F545C #5F5C54 #545F56
split-complementary
#54575F #5F5654 #5C5F54
monochromatic
#1B1C1E #37393F #54575F #71757F #90949D

Accessibility & contrast

On white

7.23
#54575F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#54575F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54575F
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54575F#FFFFFF#000000##FFFFFF
##54575F1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55585F
Deuteranopia (green-blind)
#54575F
Tritanopia (blue-blind)
#52585A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #54575f;
/* rgb */ color: rgb(84, 87, 95);
/* oklch */ color: oklch(45.7% 0.014 269.4);
Tailwind
colors: {
  custom: {
    50: '#84868c',
    500: '#54575f',
    950: '#000000',
  },
}
SCSS
$custom: #54575f;
$custom-light: #84868c;
$custom-dark: #000000;
JSON
{
  "hex": "#54575f",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 95
  },
  "hsl": {
    "h": 223.636,
    "s": 6.145,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45693,
    "c": 0.01352,
    "h": 269.4
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#54575F
secondary
#8D8A82
accent
#A079AF
background
#F8F8F8
surface
#EFEFF0
border
#CACACB
text
#0A0B0C
muted
#7C7C7D

Preview Lab

Preview with #54575F

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

Preview Lab → · Contrast checker → · Palette generator →

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