#545258#545258

#545258 is a dark, near-neutral grey. Relative luminance 0.086; OKLCH L 44.3% C 0.010 H 301.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#545258
RGBrgb(84, 82, 88)
HSLhsl(260, 4%, 33%)
HSVhsv(260, 7%, 35%)
CMYKcmyk(4.5%, 6.8%, 0%, 65.5%)
CIE-LABlab(35.25, 2.12, -3.21)
CIE-LCHlch(35.25, 3.84, 303.39°)
OKLaboklab(44.26% 0.0052 -0.0086)
OKLCHoklch(44.26% 0.01 301.1)
XYZxyz(8.4346, 8.6240, 10.4509)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545258 #565852
analogous
#525358 #545258 #575258
triadic
#545258 #585452 #525854
tetradic
#545258 #585253 #565852 #525857
square
#545258 #585253 #565852 #525857
split-complementary
#545258 #585752 #535852
monochromatic
#181719 #363438 #545258 #727078 #918E96

Accessibility & contrast

On white

7.71
#545258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#545258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545258
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545258#FFFFFF#000000##FFFFFF
##5452581.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515358
Deuteranopia (green-blind)
#515358
Tritanopia (blue-blind)
#535354
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #545258;
/* rgb */ color: rgb(84, 82, 88);
/* oklch */ color: oklch(44.3% 0.010 301.1);
Tailwind
colors: {
  custom: {
    50: '#848287',
    500: '#545258',
    950: '#000000',
  },
}
SCSS
$custom: #545258;
$custom-light: #848287;
$custom-dark: #000000;
JSON
{
  "hex": "#545258",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 88
  },
  "hsl": {
    "h": 260,
    "s": 3.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4426,
    "c": 0.01,
    "h": 301.1
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#545258
secondary
#848680
accent
#AD7B9C
background
#F8F7F8
surface
#EFEEEF
border
#CAC9CA
text
#0A0A0B
muted
#7C7C7C

Preview Lab

Preview with #545258

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

Preview Lab → · Contrast checker → · Palette generator →

#545258 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva