CSS named color
DarkGray Color Code
DarkGray is a light gray with the hex code #A9A9A9. In RGB it is rgb(169, 169, 169), in HSL hsl(0, 0%, 66%) and in CMYK cmyk(0%, 0%, 0%, 34%).
Color values
In CSS you can write it as the keyword darkgray.
White text on DarkGray has a contrast ratio of 2.35:1 and black text 8.94:1, so black text is the more readable choice.
The closest Tailwind CSS color is Neutral 400 (#A3A3A3).
Use DarkGray in CSS
.element {
color: darkgray;
background-color: #a9a9a9;
border-color: rgb(169, 169, 169);
} Tints and shades of DarkGray
Ten steps from light to dark at the same hue. Click any swatch to copy it.
Colors that go with DarkGray
Color-wheel harmonies built from #A9A9A9. Click a swatch to copy it or open the set in the color wheel.
Split complementary
Open in color wheelA base plus the two neighbors of its complement — contrast with less tension.
Text contrast on DarkGray
Colors similar to DarkGray
Closest CSS named colors
Closest traditional Chinese colors
Closest Tailwind colors
Palettes with similar colors
Questions about DarkGray
What is the hex code for DarkGray?
The hex code for DarkGray is #A9A9A9. Its RGB value is rgb(169, 169, 169) and its HSL value is hsl(0, 0%, 66%).
What colors go with DarkGray?
The complementary color of DarkGray is #A8A8A8. For a softer scheme try the analogous colors #A8A8A8 and #A8A8A8; for a balanced three-color scheme use the triadic colors #A8A8A8 and #A8A8A8.
Is DarkGray readable as a text color?
On a white background DarkGray has a contrast ratio of 2.35:1, which does not pass WCAG AA for normal text (4.5:1). On black it reaches 8.94:1.