On this page
The name is misleading. In CSS, darkgray is lighter than plain gray, so what looks like a mid-tone grey on screen is called dark. Below you will find the full set of codes, how to use it without failing contrast checks, how it prints, and the darker greys to reach for when is too light.
Dark Grey Hex, RGB, HSL and CMYK Values
All the values come from one number repeated three times. Hex A9 equals 169, so the color is 169 red, 169 green and 169 blue, about 66% of the way from black to white. Because the channels match, saturation is 0% and there is no hue angle to speak of.
| Format | Value |
|---|---|
| HEX | |
| RGB | rgb(169, 169, 169) |
| HSL | hsl(0, 0%, 66%) |
| HSV | 0°, 0%, 66% |
| CMYK | 0%, 0%, 0%, 34% |
| CSS keywords | darkgray, darkgrey |
| Nearest web-safe |
CMYK here is a plain screen-to-print conversion: no cyan, magenta or yellow, and 34% black. Real presses, papers and profiles shift it a little, which the print section below covers.
Dark Grey vs Gray in CSS: The Naming Quirk
CSS defines gray and grey as , and darkgray and darkgrey as , so the “dark” one is the lighter one. The cause is history. The X11 color list used on Unix systems put its dark gray at 169 (66%) and its plain gray at 190 (74.5%). HTML later fixed gray at 128, but dark gray kept its X11 value, so the order flipped.
Do not trust the keyword darkgray. Use dimgray , or write your own hex value.
Which CSS named color is actually darker?
gray is #808080, while darkgray is #A9A9A9, which is lighter.
The spellings gray and grey are interchangeable in CSS and give identical results. Grey is standard in British and Commonwealth English, gray in American English, and both are accepted in both. From lightest to darkest, the named ladder runs lightgray , silver , darkgray , gray , dimgray .

What Dark Grey Looks Like Beside Similar Greys
At 66% lightness, sits two thirds of the way up the grey scale. On a white page it reads as brushed aluminium or soft pencil lead. On black it looks like pale ash. It is lighter than Gray and darker than Silver , Light Gray and Gainsboro .
Because it has no hue, it borrows its mood from whatever sits beside it. Next to orange it turns cool and bluish, next to blue it warms up. Chromatic greys such as Slate Gray lean blue on purpose. If you want something quieter and paler than , the pastel gray page has softer options.
Darker Greys for When #A9A9A9 Is Too Light
Most paint chips, fabric swatches and product listings labelled dark grey are much deeper than . They sit in the charcoal range, between about 20% and 40% lightness. When a client asks me for dark grey, I now ask for a reference photo before I touch a hex code.
These are the names worth knowing: Dim Gray , Davy’s Grey , Charcoal , Dark Slate Gray , Jet and Eerie Black . Charcoal and Dark Slate Gray carry a cool blue or green cast, while Dim Gray, Davy’s Grey, Jet and Eerie Black are neutral.
Dark Grey Contrast and WCAG Accessibility
The relative luminance of works out to about 0.40, which is awkward middle ground: too light for white text, and too faint to read well on a white page. These ratios come from the WCAG formula:
- on : 2.35:1, fails AA for text of any size
- on : 8.9:1, passes AAA
- on : 5.4:1, passes AA
- on : 5.5:1, passes AA
On a dashboard I redesigned, secondary labels were set in on white, and the team kept hearing that they were hard to see. Switching the text to fixed it without flattening the visual hierarchy. I kept for decorative dividers, where WCAG asks for no contrast, and used (3.95:1 on white) for input borders, which need at least 3:1.
What is the contrast ratio of #A9A9A9 text on a white background?
That is well under the 4.5:1 AA minimum for body text, so use #696969 or darker.
Using Dark Grey in Web and UI Design
earns its place in interfaces as a quiet supporting color: dividers, disabled controls, skeleton loaders, inactive icons and chart gridlines. In dark mode it flips into a good secondary text color, at about 8:1 on . Define it once as a variable so every use stays consistent.

:root {
--grey-400: #A9A9A9;
--grey-600: #696969;
--grey-900: #222222;
}
.divider { border-color: var(--grey-400); }
.text-muted { color: var(--grey-600); }
.dark .text-muted { color: var(--grey-400); }
Pair it with a lighter step such as for surfaces and a darker step such as for text. If a layout needs punch rather than calm, the high contrast color palettes show how to push greys toward the extremes.
Try this: Search your stylesheet for , darkgray and any other light grey used as text. Check each one against its background, then swap the failing ones to on white and see if the page feels calmer.
Dark Grey in Branding, Fashion and Interiors
In branding, mid greys signal calm competence, which is why they turn up in software, finance, architecture and industrial design. usually works best as a supporting tone, with one saturated accent doing the talking. A red accent is the classic move, and the red and grey combinations page shows tested pairings.
In fashion, grey has long been the neutral of tailoring. The grey business suit appeared in mid-19th-century London, in light grey for summer and dark grey for winter. A mid grey knit or flannel today pairs easily with pastel pink for a soft, modern look. For interiors, never pick paint from a screen hex: a wall grey changes with daylight, so test a large swatch in the actual room.
Printing Dark Grey: CMYK, Pantone and Paper
The conversion gives C0 M0 Y0 K34, a 34% tint of black. Specifying grey as black ink only is the safest route, because mixing all four inks can leave a color cast if the press drifts. I once reviewed a packaging proof where a four-ink grey leaned green on the first run. Rebuilding it as a plain 34% black tint kept every sheet neutral.
Paper matters as much as the numbers. Uncoated stock absorbs ink and spreads the dots, so the grey prints a little darker and softer than on coated stock. The nearest Pantone match is often listed as Cool Gray 6 C, but compare a physical swatch book in daylight before you commit.
Dark Grey Color Combinations and Palettes
Because has zero saturation, every wheel-based harmony collapses back to the same grey. The palette maker above shows this: complementary, triadic and split palettes only become interesting when you choose the accent color yourself. These pairings are reliable places to start:
- Deep green: dark green with grey feels calm and natural, like slate and moss.
- Night blues: navy and indigo, as in night sky palettes, make grey look crisp.
- Warm yellow: amber lifts grey out of corporate territory.
- Off-white: keeps layouts airy and softer than pure white.
Keep to one accent per layout and let the grey do the background work. The palettes below are built around and are ready to copy.
Dashboards, portfolios and documentation sites that need a calm neutral ramp.
Premium brand identities, stationery and packaging with a warm metallic accent.
Fashion lookbooks, product pages and social graphics that need one lively accent.
Living rooms, bedrooms and wellness brands wanting a soft, grounded feel.
Dark Grey Meaning and History
Grey stands for neutrality, restraint and formality. Mid greys tend to read as professional and unshowy, while darker greys feel heavier and more serious. These are common associations rather than fixed rules, and context changes them quickly.
History shows both sides. Grey became a color of military uniforms because soldiers in grey were less visible as targets than those in blue or red, and by the late 1930s it was tied to industrialisation and war. The word itself is old: its first recorded use as a color name in English dates to around 700 CE.
Colors close to dark grey
Dark Grey Color: questions people ask
What is the hex code for dark grey?
Dark grey is #A9A9A9, which is rgb(169, 169, 169) and hsl(0, 0%, 66%). In CSS you can also write the keyword darkgray or darkgrey.
Is dark grey lighter than grey?
In CSS, yes. Gray is #808080 and darkgray is #A9A9A9, because the names come from two different color lists that were merged. If you want a genuinely darker grey, use dimgray #696969.
What is the difference between dark grey and charcoal?
Dark grey (#A9A9A9) is a light, pure neutral. Charcoal (#36454F) is far darker and leans blue-green, so it feels heavier and works better for text and bold backgrounds.
Does dark grey pass WCAG contrast on white?
No. #A9A9A9 on white is about 2.35:1, below the 4.5:1 needed for body text and the 3:1 needed for large text. Use #696969 (about 5.5:1) or darker for readable text.
What colors go with dark grey?
Deep greens, navy, amber and coral all work, along with white and off-white. Because dark grey has no hue, pick one accent and let the grey stay in the background.
Keep exploring
- Honey Blonde Color: Hex Code, RGB and Palettes
- Light Green Color: Hex Code, RGB and Palettes
- Lavender Color: Hex Code, RGB and Palettes
- Mint Green Color: Hex Code, RGB and Palettes
- Cream Color: Hex Code, RGB and Palettes
- Azure Blue Color: Hex Code, RGB and Palettes
- Pink and Purple Color Combination: Palettes and Hex Codes
- Skin Tone Hex Codes: Realistic Skin Color Palettes