#54565F#54565F

#54565F is a mid, near-neutral grey. Relative luminance 0.094; OKLCH L 45.5% C 0.015 H 275.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#54565F
RGBrgb(84, 86, 95)
HSLhsl(229, 6%, 35%)
HSVhsv(229, 12%, 37%)
CMYKcmyk(11.6%, 9.5%, 0%, 62.7%)
CIE-LABlab(36.68, 1.24, -5.47)
CIE-LCHlch(36.68, 5.61, 282.76°)
OKLaboklab(45.46% 0.0015 -0.0147)
OKLCHoklch(45.46% 0.015 275.8)
XYZxyz(9.0491, 9.3665, 12.1554)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54565F #5F5D54
analogous
#545B5F #54565F #58545F
triadic
#54565F #5F5456 #565F54
tetradic
#54565F #5F545B #5F5D54 #545F58
square
#54565F #5F545B #5F5D54 #545F58
split-complementary
#54565F #5F5854 #5B5F54
monochromatic
#1B1B1E #37393F #54565F #71737F #90939D

Accessibility & contrast

On white

7.31
#54565F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#54565F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54565F
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54565F#FFFFFF#000000##FFFFFF
##54565F1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54575F
Deuteranopia (green-blind)
#53565F
Tritanopia (blue-blind)
#525859
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #54565f;
/* rgb */ color: rgb(84, 86, 95);
/* oklch */ color: oklch(45.5% 0.015 275.8);
Tailwind
colors: {
  custom: {
    50: '#84858c',
    500: '#54565f',
    950: '#000000',
  },
}
SCSS
$custom: #54565f;
$custom-light: #84858c;
$custom-dark: #000000;
JSON
{
  "hex": "#54565f",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 95
  },
  "hsl": {
    "h": 229.091,
    "s": 6.145,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45458,
    "c": 0.01481,
    "h": 275.8
  },
  "luminance": 0.09367
}

Semantic roles & 50–950 ramp

primary
#54565F
secondary
#8D8B82
accent
#A579AF
background
#F8F8F8
surface
#EFEFF0
border
#CACACB
text
#0A0B0C
muted
#7C7C7D

Preview Lab

Preview with #54565F

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

Preview Lab → · Contrast checker → · Palette generator →

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