#2B2829

A color in the Black, Gray, White family

#2b2829 is a color in the Black, Gray, White family: RGB(43, 40, 41), HSL(340°, 4%, 16%), CMYK(0%, 7%, 5%, 83%). Closest named color: darkslategray. Contrast is 14.6:1 on white and 1.44:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2b2829
RGBrgb(43 40 41)
RGB (legacy)rgb(43, 40, 41)
RGB %rgb(17% 16% 16%)
HSLhsl(340 4% 16%)
HSV / HSBhsv(340, 7%, 17%)
HWBhwb(340 16% 83%)
CMYKcmyk(0%, 7%, 5%, 83%)
CIELAB (D50)lab(16.47 1.6 -0.14)
LCHlch(16.47 1.6 355.01)
OKLaboklab(0.2804 0.0047 -0.0004)
OKLCHoklch(0.2804 0.0047 355.07)
Decimal2828329

Properties

Color ToneBlack, Gray, White
Closest named colordarkslategray ΔE 13
Closest web-safe color#333333
Hue340°
Saturation (HSL / HSV)4% / 7%
Lightness (HSL)16%
Brightness or Value (HSV)17%
Luminance (Rec.601 / Rec.709)16% / 16%
Relative luminance (WCAG)0.0219
Red / Green / Blue43 / 40 / 41

WCAG 2.2 Contrast Ratio

On White (#ffffff)
14.60:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.44: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 101.4 / 0 · As background with white / black text: Lc -104.3 / 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: #2b2829;
  --color-brand-oklch: oklch(28.04% 0.0047 355.07);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(43 40 41 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2b2829] text-[#2b2829] border-[#2b2829]">