Maroon Colors  ·  Color Library

Palettes / Colors / #2D2D2E

#2D2D2E — Charcoal

#2D2D2E is a gray color we call Charcoal, closest to the named color DarkSlateGray (#2F4F4F). It belongs to the gray family.

Color name

Closest CSS keyword: darkslategray (#2F4F4F) — not an exact match. CSS darkslategray gives you #2F4F4F, a different color; use #2D2D2E when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#2D2D2E is a neutral gray color associated with neutrality and professionalism. It is deep enough for text, outlines and dark interface surfaces, and makes light colors glow next to it.

Its strongest partner is its complement #2E2E2D; it also sits naturally between #2D2E2E and #2E2D2E. In the palettes below you can see it working alongside real color combinations from our collection.

#2D2D2E · RGB 45, 45, 46

Download PNG swatch SVG

Color values

HEX#2D2D2E
RGB45, 45, 46
HSL240°, 1%, 18%
HSV240°, 2%, 18%
CMYK2%, 2%, 0%, 82%
XYZ2.51, 2.63, 2.96
Yxy2.63, 0.3101, 0.3247
CIE-Lab18.51, 0.24, -0.65
Hunter Lab16.22, 0.14, -0.36

RGB & CMYK percentages

Red 18% · Green 18% · Blue 18%

Cyan 2% · Magenta 2% · Yellow 0% · Key 82%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #2D2D2E on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #2D2D2E on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #2D2D2E

.text { color: #2D2D2E; }
.background { background-color: #2D2D2E; }
.border { border: 3px solid #2D2D2E; }
.text-rgb { color: rgb(45, 45, 46); }
.text-hsl { color: hsl(240, 1%, 18%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #2D2D2E; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(45, 45, 46, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #2D2D2E; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(45, 45, 46, 0.8); }

HTML: <p style="color:#2D2D2E">Text here</p> · <div style="background-color:#2D2D2E">Div content here</div>

Shades of #2D2D2E

#2B2B2C#262627#232324#1E1E1F#1C1C1C#19191A#141415#121212#0D0D0D#0A0A0A

Tints of #2D2D2E

#424243#565658#68686A#7C7C7E#909092#A5A5A7#B9B9BB#CBCBCD#E0E0E1#F5F5F5

Tones of #2D2D2E

#2D2D2E#2D2D2E#2D2D2E#2E2E2E#2E2E2E#2E2E2E

Color harmonies

Complementary — #2E2E2D:

Analogous:

Triadic:

Contrast & accessibility

Against white text13.76:1 AAA
Against black text1.53:1 Fails

Best text color on #2D2D2E: #FFFFFF.

Semi-transparent (opacity) text on #2D2D2E

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #2D2D2E: ·

How #2D2D2E looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #2D2D2EDeuteranopia · #2D2D2ETritanopia · #2D2E2E

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Bootstrap dark · #212529Tailwind neutral 600 · #525252Tailwind stone 600 · #57534E

Palettes with a similar color

These palettes use a close neighbour of #2D2D2E rather than the exact color:

Palette 2c2c2c
#2C2C2C · #853953 · #612D53 · #F3F4F4
Palette F3f4f4
#F3F4F4 · #853953 · #612D53 · #2C2C2C
Palette 2e2b2b
#2E2B2B · #388186 · #A5E9E1 · #FDF6F6
Palette 362222
#362222 · #171010 · #423F3E · #2B2B2B
Palette F5f2f2
#F5F2F2 · #FEB05D · #5A7ACD · #2B2A2A
Palette E4c59e
#E4C59E · #AF8260 · #803D3B · #322C2B

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#2C2C2C#2E2B2B#2B2B2B#2B2A2A#322C2B#2C3333#323232#343131#2D2727#272829#2A3335#333333

Browse neighbouring colors

← #2D2D2D  ·  #2D2D2F →

Frequently asked questions

What color is #2D2D2E?

#2D2D2E is Charcoal, a gray color (RGB 45, 45, 46). Its closest standard named color is DarkSlateGray.

What is the RGB and HSL of #2D2D2E?

#2D2D2E is RGB 45, 45, 46 — HSL 240°, 1%, 18% — CMYK 2%, 2%, 0%, 82%.

What colors go with #2D2D2E?

Its complement is #2E2E2D; analogous partners are #2D2E2E and #2E2D2E. It also appears in 6+ palettes in our collection.

Can I use #2D2D2E for text?

White text on #2D2D2E has a contrast ratio of 13.76:1 (passes WCAG AA); black text gives 1.53:1.