#54545F#54545F

#54545F is a dark, near-neutral grey. Relative luminance 0.091; OKLCH L 45.0% C 0.018 H 285.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#54545F
RGBrgb(84, 84, 95)
HSLhsl(240, 6%, 35%)
HSVhsv(240, 12%, 37%)
CMYKcmyk(11.6%, 11.6%, 0%, 62.7%)
CIE-LABlab(36.08, 2.48, -6.36)
CIE-LCHlch(36.08, 6.83, 291.29°)
OKLaboklab(44.99% 0.0048 -0.0171)
OKLCHoklch(44.99% 0.018 285.7)
XYZxyz(8.8916, 9.0516, 12.1029)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54545F #5F5F54
analogous
#54595F #54545F #59545F
triadic
#54545F #5F5454 #545F54
tetradic
#54545F #5F5459 #5F5F54 #545F59
square
#54545F #5F5459 #5F5F54 #545F59
split-complementary
#54545F #5F5954 #595F54
monochromatic
#1B1B1E #37373F #54545F #71717F #90909D

Accessibility & contrast

On white

7.47
#54545F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#54545F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54545F
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54545F#FFFFFF#000000##FFFFFF
##54545F1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525560
Deuteranopia (green-blind)
#51555F
Tritanopia (blue-blind)
#525658
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #54545f;
/* rgb */ color: rgb(84, 84, 95);
/* oklch */ color: oklch(45.0% 0.018 285.7);
Tailwind
colors: {
  custom: {
    50: '#84848c',
    500: '#54545f',
    950: '#000000',
  },
}
SCSS
$custom: #54545f;
$custom-light: #84848c;
$custom-dark: #000000;
JSON
{
  "hex": "#54545f",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 95
  },
  "hsl": {
    "h": 240,
    "s": 6.145,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4499,
    "c": 0.0178,
    "h": 285.7
  },
  "luminance": 0.09052
}

Semantic roles & 50–950 ramp

primary
#54545F
secondary
#8D8D82
accent
#AF79AF
background
#F8F8F8
surface
#EFEFF0
border
#CACACB
text
#0A0A0C
muted
#7C7C7D

Preview Lab

Preview with #54545F

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

Preview Lab → · Contrast checker → · Palette generator →

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