#2B2C2D

A color in the Black, Gray, White family

#2b2c2d is a color in the Black, Gray, White family: RGB(43, 44, 45), HSL(210°, 2%, 17%), CMYK(4%, 2%, 0%, 82%). Closest named color: darkslategray. Contrast is 13.99:1 on white and 1.5:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2b2c2d
RGBrgb(43 44 45)
RGB (legacy)rgb(43, 44, 45)
RGB %rgb(17% 17% 18%)
HSLhsl(210 2% 17%)
HSV / HSBhsv(210, 4%, 18%)
HWBhwb(210 17% 82%)
CMYKcmyk(4%, 2%, 0%, 82%)
CIELAB (D50)lab(17.93 -0.28 -0.81)
LCHlch(17.93 0.86 250.98)
OKLaboklab(0.2925 -0.0009 -0.0021)
OKLCHoklch(0.2925 0.0023 247.9)
Decimal2829357

Properties

Color ToneBlack, Gray, White
Closest named colordarkslategray ΔE 11.6
Closest web-safe color#333333
Hue210°
Saturation (HSL / HSV)2% / 4%
Lightness (HSL)17%
Brightness or Value (HSV)18%
Luminance (Rec.601 / Rec.709)17% / 17%
Relative luminance (WCAG)0.025
Red / Green / Blue43 / 44 / 45

WCAG 2.2 Contrast Ratio

On White (#ffffff)
13.99:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.50: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 100.7 / 0 · As background with white / black text: Lc -103.7 / 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: #2b2c2d;
  --color-brand-oklch: oklch(29.25% 0.0023 247.9);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(43 44 45 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2b2c2d] text-[#2b2c2d] border-[#2b2c2d]">