Home /Colors /#2A2A2A
#2A2A2A#2A2A2A

#2A2A2A color code is #2A2A2A. Use this page to get all code formats, explore shades and tints, and find colors that work with #2a2a2a.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore #2A2A2A

#2A2A2A Accessibility & WCAG Contrast

Relative luminance of #2A2A2A is 0.0232. Its WCAG contrast ratio is 14.35:1 against white and 1.46:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
#2A2A2A on white14.35:1AAA
The quick brown fox
#2A2A2A on black1.46:1Fail
The quick brown fox
White on #2A2A2A14.35:1AAA
The quick brown fox
Black on #2A2A2A1.46:1Fail

#2A2A2A — Frequently Asked Questions

What is the hex code for #2A2A2A?+
The hex code for #2A2A2A is #2A2A2A. In RGB it's rgb(42, 42, 42), and in HSL it's hsl(0, 0%, 16%).
What is the RGB value of #2A2A2A?+
#2A2A2A in RGB is (42, 42, 42). Written in CSS: rgb(42, 42, 42).
What is the CMYK value of #2A2A2A?+
#2A2A2A converts to CMYK(0%, 0%, 0%, 84%) for print. Hex equivalent is #2A2A2A.
Is #2a2a2a a warm or cool color?+
#2A2A2A (#2A2A2A) is a neutral gray — its hue sits at 0° on the color wheel, placing it in the neutral part of the spectrum.
What color family does #2a2a2a belong to?+
#2A2A2A belongs to the gray family. Its HSL is 0°, 0%, 16% — a neutral tone within the broader gray group.
Is #2a2a2a accessible for body text on a white background?+
#2A2A2A on white reaches a WCAG contrast ratio of 14.35:1 — passes WCAG AAA for body text on white.
What is the closest Pantone match for #2a2a2a?+
The nearest Pantone match for #2A2A2A (#2A2A2A) is 19-0303 Black, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use #2A2A2A in design

Practical guidance for using #2a2a2a (#2A2A2A) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

Use #2A2A2A (#2A2A2A) as primary text or icon color on white backgrounds — at 14.3:1 contrast it passes WCAG AAA for body copy. Avoid placing #2a2a2a text on dark surfaces; the contrast drops below the AA threshold.

Branding & identity

As a brand color, #2A2A2A (#2A2A2A) reads as considered and grown-up and premium and serious. It fits naturally into professional services, corporate identity, B2B SaaS. Pair it with a single bold accent so it doesn't read as too quiet. Test legibility on both your logo and small UI text before locking it in — saturation that works on a 200px logo can feel overpowering at favicon scale.

Fashion & apparel

#2A2A2A is a wardrobe-staple neutral. It pairs with everything, transitions across seasons, and is a safe choice for tailored pieces (suits, coats, trousers, dresses) where longevity matters more than seasonal trend. Layer it with one bolder accent (a vivid scarf, statement bag) to keep the look from reading as flat.

Interior design

#2A2A2A is a moody, atmospheric room color — perfect for libraries, dining rooms, bedrooms, and bars where you want the space to feel enclosed and cinematic. Pair with brass or unlacquered fixtures, warm overhead lighting (2700K bulbs), and natural-fiber rugs. Avoid using it in spaces with limited natural light unless that intimacy is the point.

Brands that use #2A2A2A

Major brands whose official palette contains a color within ~30 RGB units of #2a2a2a (#2A2A2A). Click through for the full brand color guide.

YouTube#282828 · YouTube DarkDiscord#23272A · Discord DarkGitHub#24292F · GitHub DarkApple#1D1D1F · Apple BlackTesla#1E1E1E · Tesla DarkStarbucks#1E3932 · Starbucks Black