#343734

A color in the Black, Gray, White family

#343734 is a color in the Black, Gray, White family: RGB(52, 55, 52), HSL(120°, 3%, 21%), CMYK(5%, 0%, 5%, 78%). Closest named color: darkslategray. Contrast is 12.05:1 on white and 1.74:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#343734
RGBrgb(52 55 52)
RGB (legacy)rgb(52, 55, 52)
RGB %rgb(20% 22% 20%)
HSLhsl(120 3% 21%)
HSV / HSBhsv(120, 5%, 22%)
HWBhwb(120 20% 78%)
CMYKcmyk(5%, 0%, 5%, 78%)
CIELAB (D50)lab(22.69 -1.86 1.42)
LCHlch(22.69 2.34 142.67)
OKLaboklab(0.3328 -0.0054 0.0038)
OKLCHoklch(0.3328 0.0066 145.42)
Decimal3422004

Properties

Color ToneBlack, Gray, White
Closest named colordarkslategray ΔE 7.8
Closest web-safe color#333333
Hue120°
Saturation (HSL / HSV)3% / 5%
Lightness (HSL)21%
Brightness or Value (HSV)22%
Luminance (Rec.601 / Rec.709)21% / 21%
Relative luminance (WCAG)0.0371
Red / Green / Blue52 / 55 / 52

WCAG 2.2 Contrast Ratio

On White (#ffffff)
12.05:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.74: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 97.6 / 0 · As background with white / black text: Lc -101.1 / 0

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: #343734;
  --color-brand-oklch: oklch(33.28% 0.0066 145.42);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(52 55 52 / 50%); }
/* Tailwind CSS */
<div class="bg-[#343734] text-[#343734] border-[#343734]">