#4A4E4E

A color in the Black, Gray, White family

#4a4e4e is a color in the Black, Gray, White family: RGB(74, 78, 78), HSL(180°, 3%, 30%), CMYK(5%, 0%, 0%, 69%). Closest named color: darkslategray. Contrast is 8.43:1 on white and 2.49:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4a4e4e
RGBrgb(74 78 78)
RGB (legacy)rgb(74, 78, 78)
RGB %rgb(29% 31% 31%)
HSLhsl(180 3% 30%)
HSV / HSBhsv(180, 5%, 31%)
HWBhwb(180 29% 69%)
CMYKcmyk(5%, 0%, 0%, 69%)
CIELAB (D50)lab(32.8 -1.68 -0.59)
LCHlch(32.8 1.78 199.43)
OKLaboklab(0.4203 -0.005 -0.0015)
OKLCHoklch(0.4203 0.0052 196.96)
Decimal4869710

Properties

Color ToneBlack, Gray, White
Closest named colordarkslategray ΔE 3.7
Closest web-safe color#336666
Hue180°
Saturation (HSL / HSV)3% / 5%
Lightness (HSL)30%
Brightness or Value (HSV)31%
Luminance (Rec.601 / Rec.709)30% / 30%
Relative luminance (WCAG)0.0745
Red / Green / Blue74 / 78 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.43:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.49: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 89.1 / -13.1 · As background with white / black text: Lc -93.6 / 14.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: #4a4e4e;
  --color-brand-oklch: oklch(42.03% 0.0052 196.96);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(74 78 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4a4e4e] text-[#4a4e4e] border-[#4a4e4e]">