#4D514B

A color in the Black, Gray, White family

#4d514b is a color in the Black, Gray, White family: RGB(77, 81, 75), HSL(100°, 4%, 31%), CMYK(5%, 0%, 7%, 68%). Closest named color: darkslategray. Contrast is 8.1:1 on white and 2.59:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4d514b
RGBrgb(77 81 75)
RGB (legacy)rgb(77, 81, 75)
RGB %rgb(30% 32% 29%)
HSLhsl(100 4% 31%)
HSV / HSBhsv(100, 7%, 32%)
HWBhwb(100 29% 68%)
CMYKcmyk(5%, 0%, 7%, 68%)
CIELAB (D50)lab(33.93 -2.64 2.96)
LCHlch(33.93 3.96 131.78)
OKLaboklab(0.4293 -0.0078 0.0078)
OKLCHoklch(0.4293 0.011 134.96)
Decimal5067083

Properties

Color ToneBlack, Gray, White
Closest named colordarkslategray ΔE 4.3
Closest web-safe color#666633
Hue100°
Saturation (HSL / HSV)4% / 7%
Lightness (HSL)31%
Brightness or Value (HSV)32%
Luminance (Rec.601 / Rec.709)31% / 31%
Relative luminance (WCAG)0.0797
Red / Green / Blue77 / 81 / 75

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.10:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.59: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.1 / -14.1 · As background with white / black text: Lc -92.7 / 15.9

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: #4d514b;
  --color-brand-oklch: oklch(42.93% 0.011 134.96);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(77 81 75 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4d514b] text-[#4d514b] border-[#4d514b]">