Skip to content

#2b2f2c

a deep, muted gray · neutral · closest name: Black

RGB
43, 47, 44
HSL
135°, 4%, 18%
CMYK
9, 0, 6, 82
Luminance
0.0273

At a glance

Every number on this page in one read: what #2b2f2c is made of, how bright it looks, and which way it leans.

Hex
#2b2f2c
Hue
135°
gray
Saturation
4%
muted
Lightness
18%
deep
Brightness
18%
HSV value
Perceived
18%
weighted brightness
Luminance
0.0273
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Gray
Tone
Muted
Best ink
White
13.59:1
Closest name
Black
ΔE2000 12.3
Where it sits
Hue135° of 360°
Saturation4%
Lightness18%
Temperature
Warm ← → Cool52% cool

Near-neutral, so temperature is a whisper rather than a statement — the tinted siblings below show which way it can lean.

Every format

HEX#2b2f2c
RGBrgb(43, 47, 44)
HSLhsl(135, 4%, 18%)
CMYKcmyk(9%, 0%, 6%, 82%)
LABlab(18.9 -2.5 1.3)
LCHlch(18.9 2.8 152.0)
OKLCHoklch(0.300 0.008 153.4)
Decimal2830124
Display P3color(display-p3 0.169 0.184 0.173)

Copy-ready code

/* CSS */
color: #2b2f2c;
background-color: #2b2f2c;
/* Tailwind (arbitrary) */
class="text-[#2b2f2c] bg-[#2b2f2c]"
/* SCSS */
$brand: #2b2f2c;
/* SwiftUI */
Color(red: 0.169, green: 0.184, blue: 0.173)
/* Android */
Color.parseColor("#2b2f2c")
/* Flutter */
Color(0xFF2B2F2C)
/* Python / OpenCV (BGR) */
(44, 47, 43)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #2b2f2c · 13.59:1
Use #ffffffAAA at every size.
Aa
White text · 13.59:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.55:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2b2f2c as text scores 13.59:1 on white and 1.55:1 on black.

Accessibility — WCAG contrast

Aa
#2b2f2c on white: 13.59:1
AA ✓ pass · AA-large · AAA
Aa
#2b2f2c on black: 1.55:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2F2E2C
deuteranopia · #2E2E2C
tritanopia · #2A2F2E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2b2f2c is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F7F8F7
#EFF0EF
#DDDFDD
#C4C9C6
#A7AFA9
#8A948C
#758078
#626A64
#4E5550
#3B403C
#2b2f2c
Base = 950Lightest = 50 · #F7F8F7Darkest = 950 · #2b2f2c
:root {
  --brand-50: #F7F8F7;
  --brand-100: #EFF0EF;
  --brand-200: #DDDFDD;
  --brand-300: #C4C9C6;
  --brand-400: #A7AFA9;
  --brand-500: #8A948C;
  --brand-600: #758078;
  --brand-700: #626A64;
  --brand-800: #4E5550;
  --brand-900: #3B403C;
  --brand-950: #2b2f2c;
  --brand: #2b2f2c;
  --brand-ink: #ffffff;
}

Colors that work with #2b2f2c

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F7F8F7
Tinted page background
Border#D4D8D5
Hairlines and dividers
Muted text#6E7870
Captions on the surface
Accent#312931
Second voice, not a rival
Dark variant#3D433E
Hover, pressed, headers
Light variant#F2F3F2
Selected rows, tints
Dark surface#1B1D1B
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #2b2f2c

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Borders, dividers and quiet backgrounds
  • Long-form reading surfaces
  • Headers, footers and dark-mode surfaces
  • Neutral UI chrome and typography
Use with care
  • Text on black or near-black surfaces
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#2F2B2E
Analogous left#2C2F2B
Analogous right#2B2F2E
Split-complement 1#2E2B2F
Split-complement 2#2F2B2C
Triadic 1#2C2B2F
Triadic 2#2F2C2B
Tetradic#2B2C2F

RGB percentages

Red16.9%
Green18.4%
Blue17.3%

CMYK percentages

Cyan8.5%
Magenta0.0%
Yellow6.4%
Key (black)81.6%

Color previews

#2b2f2c text on a black background

contrast 1.55:1

Card sample

#2b2f2c text on a white background

contrast 13.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2b2f2c;
Background color
Panel with #2b2f2c background
background-color: #2b2f2c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #2b2f2c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(43, 47, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(43, 47, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2b2f2c;
background: linear-gradient(135deg, #2b2f2c, #2B2F2F);

Monochromatic scale

Palettes built from #2b2f2c

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#2b2f2c in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
EditorialArchitectureEnterpriseLuxury goods
Common UI roles
BackgroundsBordersBody textDividers
Print note

Converts to four-color process without much drama. Proof it anyway.

#2b2f2c, answered

What color is #2b2f2c?

#2b2f2c is a deep muted gray, closest to Black (ΔE2000 12.3). It sits at 135° on the hue wheel with 4% saturation and 18% lightness, which reads as neutral.

What is the RGB value of #2b2f2c?

rgb(43, 47, 44) — 43 red, 47 green and 44 blue out of 255, or 16.9% / 18.4% / 17.3% by channel.

Is #2b2f2c a light or a dark color?

It is a dark color. Relative luminance is 0.0273 and perceived brightness is 18%, so white text on it reaches 13.59:1.

Should I use black or white text on #2b2f2c?

White. It scores 13.59:1 against #2b2f2c, versus 1.55:1 for black — AAA at any size.

What is the complementary color of #2b2f2c?

#2F2B2E sits directly opposite on the wheel. Softer options are the split-complements #2E2B2F and #2F2B2C, which give the same contrast with far less vibration.

What colors go well with #2b2f2c?

For interface work: #F7F8F7 as the surface, #D4D8D5 for borders, #6E7870 for secondary text, #312931 as an accent and #3D433E for hover and pressed states. For a palette, the analogous pair #2C2F2B and #2B2F2E stays calm, while #2F2B2E is the loudest partner.

What is #2b2f2c in CMYK for printing?

cmyk(9%, 0%, 6%, 82%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #2b2f2c warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #39312B; nudged cooler, #22282D.

Work with #2b2f2c in the Color Lab