Dark Slate Gray Color Code: Hex #2F4F4F
The hex code for Dark Slate Gray is #2F4F4F (the CSS keyword darkslategray). Dark Slate Gray RGB code: rgb(47, 79, 79).
CSS Color 4, meodai color-name-list
#2F4F4FThe same code in all 2 listsDark Slate Gray color codes: the Dark Slate Gray hex code in every format
HEX
RGB
HSL
OKLCH
LAB
CMYK
Sources
CSS Color 4web standard keyword
meodai color-name-listopen community list
Properties
- Hex codes
- the same in all 2 color lists
- Family
- gray
- Contrast
- 8.93:1 with white, 2.35:1 with black
- CSS keyword
- darkslategray
- Also written
- darkslategrey
- Character
- dark, muted
- Readable text on it
- white (AA)
A dark, muted teal with a cool cast. In code, darkslategray gives exactly this hex value. Every list that includes the name agrees on it, so there is only one code to remember.
White text reads best on it; black text does not pass WCAG AA. Next to Dark Teal, its closest named neighbour, it looks lighter, more muted and warmer; beside Deep Teal it looks about as light, more muted and warmer. It is one of the darkest of the gray family here.
Colors that go with Dark Slate Gray
Complementary: the opposite of Dark Slate Gray
#2F4F4FWhite text 8.93:1#5B4042White text 9.30:1#889A9ABlack text 7.14:1#352425White text 14.68:1
Analogous
#354F44White text 8.92:1#2F4F4FWhite text 8.93:1#324D58White text 8.98:1#A7B5B4Black text 9.91:1
Triadic
#2F4F4FWhite text 8.93:1#514257White text 9.26:1#544631White text 9.14:1#C7D0D0Black text 13.36:1
Monochrome
#061010White text 19.28:1#192E2EWhite text 14.27:1#2F4F4FWhite text 8.93:1#698080Black text 5.00:1#A7B5B4Black text 9.91:1
With neutrals
#2F4F4FWhite text 8.93:1#C7D0D0Black text 13.36:1#010404White text 20.58:1#687171White text 5.01:1
Preview
Heading on Dark Slate Gray
Body text on this color, 8.93:1.
ButtonHeading in Dark Slate Gray
Text in this color on white, 8.93:1.
ButtonTints and shades
#C7D0D0#A7B5B4#889A9A#698080#4C6767#2F4F4F#243E3E#192E2E#0F1E1E#061010#010404
WhiteDark Slate GrayBlack
Similar named colors
Lists and sources
- Listed in CSS Color 4, meodai color-name-list. About these lists.
Try it: