Maroon Colors  ·  Color Library

Palettes / Colors / #2C262C

#2C262C — Charcoal

#2C262C 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 #2C262C 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.

#2C262C 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 #262C26; it also sits naturally between #29262C and #2C2629. In the palettes below you can see it working alongside real color combinations from our collection.

#2C262C · RGB 44, 38, 44

Download PNG swatch SVG

Color values

HEX#2C262C
RGB44, 38, 44
HSL300°, 7%, 16%
HSV300°, 14%, 17%
CMYK0%, 14%, 0%, 83%
XYZ2.19, 2.10, 2.67
Yxy2.10, 0.3140, 0.3021
CIE-Lab16.02, 4.18, -2.92
Hunter Lab14.50, 2.34, -1.63

RGB & CMYK percentages

Red 17% · Green 15% · Blue 17%

Cyan 0% · Magenta 14% · Yellow 0% · Key 83%

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

Previews

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

CSS code for #2C262C

.text { color: #2C262C; }
.background { background-color: #2C262C; }
.border { border: 3px solid #2C262C; }
.text-rgb { color: rgb(44, 38, 44); }
.text-hsl { color: hsl(300, 7%, 16%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #2C262C; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(44, 38, 44, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #2C262C; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(44, 38, 44, 0.8); }

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

Shades of #2C262C

#292429#262126#211C21#1E1A1E#1B181B#191519#161316#100E10#0E0C0E#0B090B

Tints of #2C262C

#413941#574C57#6D5F6D#837283#978797#AA9DAA#BDB3BD#D0C8D0#E3DEE3#F6F4F6

Tones of #2C262C

#2B262B#2B272B#2A272A#2A282A#2A282A#292829

Color harmonies

Complementary — #262C26:

Analogous:

Triadic:

Contrast & accessibility

Against white text14.78:1 AAA
Against black text1.42:1 Fails

Best text color on #2C262C: #FFFFFF.

Semi-transparent (opacity) text on #2C262C

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 #2C262C: ·

How #2C262C looks with color blindness

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

Protanopia · #29292BDeuteranopia · #2A2A2ATritanopia · #2C2929

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 #2C262C rather than the exact color:

Palette F5f2f2
#F5F2F2 · #FEB05D · #5A7ACD · #2B2A2A
Palette 362222
#362222 · #171010 · #423F3E · #2B2B2B
Palette 2d2727
#2D2727 · #413543 · #8F43EE · #F0EB8D
Palette 2e2b2b
#2E2B2B · #388186 · #A5E9E1 · #FDF6F6
Palette 2c2c2c
#2C2C2C · #853953 · #612D53 · #F3F4F4
Palette F3f4f4
#F3F4F4 · #853953 · #612D53 · #2C2C2C

Similar colors

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

#2B2A2A#2B2B2B#2D2727#2E2B2B#2C2C2C#272829#272727#2D2424#262626#322C2B#252525#2B2024

Browse neighbouring colors

← #2C262B  ·  #2C262D →

Frequently asked questions

What color is #2C262C?

#2C262C is Charcoal, a gray color (RGB 44, 38, 44). Its closest standard named color is DarkSlateGray.

What is the RGB and HSL of #2C262C?

#2C262C is RGB 44, 38, 44 — HSL 300°, 7%, 16% — CMYK 0%, 14%, 0%, 83%.

What colors go with #2C262C?

Its complement is #262C26; analogous partners are #29262C and #2C2629. It also appears in 6+ palettes in our collection.

Can I use #2C262C for text?

White text on #2C262C has a contrast ratio of 14.78:1 (passes WCAG AA); black text gives 1.42:1.