#4C4E57

A color in the Black, Gray, White family

#4c4e57 is a color in the Black, Gray, White family: RGB(76, 78, 87), HSL(229°, 7%, 32%), CMYK(13%, 10%, 0%, 66%). Closest named color: darkslategray. Contrast is 8.29:1 on white and 2.53:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4c4e57
RGBrgb(76 78 87)
RGB (legacy)rgb(76, 78, 87)
RGB %rgb(30% 31% 34%)
HSLhsl(229 7% 32%)
HSV / HSBhsv(229, 13%, 34%)
HWBhwb(229 30% 66%)
CMYKcmyk(13%, 10%, 0%, 66%)
CIELAB (D50)lab(33.24 0.72 -5.61)
LCHlch(33.24 5.66 277.29)
OKLaboklab(0.4254 0.0015 -0.015)
OKLCHoklch(0.4254 0.0151 275.78)
Decimal5000791

Properties

Color ToneBlack, Gray, White
Closest named colordarkslategray ΔE 4.4
Closest web-safe color#336666
Hue229°
Saturation (HSL / HSV)7% / 13%
Lightness (HSL)32%
Brightness or Value (HSV)34%
Luminance (Rec.601 / Rec.709)31% / 31%
Relative luminance (WCAG)0.0767
Red / Green / Blue76 / 78 / 87

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.29:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.53:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 88.6 / -13.6 · As background with white / black text: Lc -93.2 / 15.4

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #4c4e57;
  --color-brand-oklch: oklch(42.54% 0.0151 275.78);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(76 78 87 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4c4e57] text-[#4c4e57] border-[#4c4e57]">