#545758#545758

#545758 is a mid, near-neutral grey. Relative luminance 0.094; OKLCH L 45.4% C 0.004 H 219.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#545758
RGBrgb(84, 87, 88)
HSLhsl(195, 2%, 34%)
HSVhsv(195, 5%, 35%)
CMYKcmyk(4.5%, 1.1%, 0%, 65.5%)
CIE-LABlab(36.75, -0.97, -1.00)
CIE-LCHlch(36.75, 1.39, 225.64°)
OKLaboklab(45.44% -0.0032 -0.0027)
OKLCHoklch(45.44% 0.004 219.7)
XYZxyz(8.8255, 9.4057, 10.5812)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545758 #585554
analogous
#545857 #545758 #545558
triadic
#545758 #585457 #575854
tetradic
#545758 #575458 #585554 #555854
square
#545758 #575458 #585554 #555854
split-complementary
#545758 #585455 #585754
monochromatic
#181919 #363839 #545758 #727677 #919496

Accessibility & contrast

On white

7.29
#545758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#545758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545758
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545758#FFFFFF#000000##FFFFFF
##5457581.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565758
Deuteranopia (green-blind)
#565658
Tritanopia (blue-blind)
#535757
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545758;
/* rgb */ color: rgb(84, 87, 88);
/* oklch */ color: oklch(45.4% 0.004 219.7);
Tailwind
colors: {
  custom: {
    50: '#848687',
    500: '#545758',
    950: '#000000',
  },
}
SCSS
$custom: #545758;
$custom-light: #848687;
$custom-dark: #000000;
JSON
{
  "hex": "#545758",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 88
  },
  "hsl": {
    "h": 195,
    "s": 2.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4544,
    "c": 0.00418,
    "h": 219.7
  },
  "luminance": 0.09406
}

Semantic roles & 50–950 ramp

primary
#545758
secondary
#868382
accent
#887CAC
background
#F8F8F8
surface
#EFEFEF
border
#CACACA
text
#0A0B0B
muted
#7C7C7C

Preview Lab

Preview with #545758

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

Preview Lab → · Contrast checker → · Palette generator →

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