#54545E#54545E

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

Color values

HEX#54545E
RGBrgb(84, 84, 94)
HSLhsl(240, 6%, 35%)
HSVhsv(240, 11%, 37%)
CMYKcmyk(10.6%, 10.6%, 0%, 63.1%)
CIE-LABlab(36.05, 2.24, -5.79)
CIE-LCHlch(36.05, 6.21, 291.19°)
OKLaboklab(44.95% 0.0044 -0.0156)
OKLCHoklch(44.95% 0.016 285.7)
XYZxyz(8.8464, 9.0336, 11.8651)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54545E #5E5E54
analogous
#54595E #54545E #59545E
triadic
#54545E #5E5454 #545E54
tetradic
#54545E #5E5459 #5E5E54 #545E59
square
#54545E #5E5459 #5E5E54 #545E59
split-complementary
#54545E #5E5954 #595E54
monochromatic
#1A1A1D #37373E #54545E #71717E #90909C

Accessibility & contrast

On white

7.48
#54545E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54545E
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54545E#FFFFFF#000000##FFFFFF
##54545E1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52555E
Deuteranopia (green-blind)
#52555E
Tritanopia (blue-blind)
#525657
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #54545e;
/* rgb */ color: rgb(84, 84, 94);
/* oklch */ color: oklch(45.0% 0.016 285.7);
Tailwind
colors: {
  custom: {
    50: '#84848b',
    500: '#54545e',
    950: '#000000',
  },
}
SCSS
$custom: #54545e;
$custom-light: #84848b;
$custom-dark: #000000;
JSON
{
  "hex": "#54545e",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 94
  },
  "hsl": {
    "h": 240,
    "s": 5.618,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44952,
    "c": 0.01618,
    "h": 285.7
  },
  "luminance": 0.09034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #54545E

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

Preview Lab → · Contrast checker → · Palette generator →

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