#4C5259

A color in the Black, Gray, White family

#4c5259 is a color in the Black, Gray, White family: RGB(76, 82, 89), HSL(212°, 8%, 32%), CMYK(15%, 8%, 0%, 65%). Closest named color: darkslategray. Contrast is 7.9:1 on white and 2.66:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4c5259
RGBrgb(76 82 89)
RGB (legacy)rgb(76, 82, 89)
RGB %rgb(30% 32% 35%)
HSLhsl(212 8% 32%)
HSV / HSBhsv(212, 15%, 35%)
HWBhwb(212 30% 65%)
CMYKcmyk(15%, 8%, 0%, 65%)
CIELAB (D50)lab(34.52 -1.25 -4.98)
LCHlch(34.52 5.13 255.86)
OKLaboklab(0.4358 -0.0042 -0.0132)
OKLCHoklch(0.4358 0.0139 252.23)
Decimal5001817

Properties

Color ToneBlack, Gray, White
Closest named colordarkslategray ΔE 4.6
Closest web-safe color#336666
Hue212°
Saturation (HSL / HSV)8% / 15%
Lightness (HSL)32%
Brightness or Value (HSV)35%
Luminance (Rec.601 / Rec.709)32% / 32%
Relative luminance (WCAG)0.0829
Red / Green / Blue76 / 82 / 89

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.90:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.66: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 87.4 / -14.7 · As background with white / black text: Lc -92.1 / 16.6

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: #4c5259;
  --color-brand-oklch: oklch(43.58% 0.0139 252.23);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(76 82 89 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4c5259] text-[#4c5259] border-[#4c5259]">