#2F4F4FDarkslategray is a muted, gently desaturated, dark cool cyan (#2F4F4F). Also written as darkslategrey in CSS — both spellings resolve to #2F4F4F.
At hue 180° with 25% saturation, darkslategray lands firmly in the cyan family — a cool color through and through. Colors in this range are commonly associated with clarity, freshness and technology, which makes darkslategray a natural fit for tech interfaces, healthcare and water- or air-related themes.
With a 8.93:1 contrast ratio against white, darkslategray is dark enough to carry white text at any size — use it confidently for buttons, headers and filled UI elements. It is also dark enough to serve as a background in a dark theme, where lighter tints of darkslategray can act as hover and border states.
For pairings, the complement of darkslategray sits at 0° — #503030 — and delivers the strongest possible hue contrast; use it sparingly, in roughly a 90/10 split, so the two don't fight. For calmer schemes, the analogous colors 30° to either side keep the same cool temperature, while the triadic pair gives you a balanced three-color palette. All of these are computed for darkslategray in the palettes below, with copy-ready codes.
Every palette below is computed from darkslategray's position on the color wheel (hue 180°). Hover any swatch to see its code; click to copy.
Tints mix darkslategray toward white; shades mix it toward black. Use the scale for hover states, borders and depth without leaving the hue.
WCAG 2.1 requires 4.5:1 for normal text (AA) and 3:1 for large text. Here's how darkslategray performs, plus how it appears under the three main types of dichromatic color blindness (simulated approximation).
| Pairing | Ratio | Normal text | Large text |
|---|---|---|---|
| White text on Darkslategray | 8.93:1 | AAA | AAA |
| Black text on Darkslategray | 2.35:1 | Fail | Fail |
#3D3D4F#3B394F#314F4FCopy-ready snippets. In CSS you can also use the keyword darkslategray directly.
:root {
--darkslategray: #2F4F4F;
--darkslategray-rgb: 47, 79, 79;
--darkslategray-tint: #8D9E9E;
--darkslategray-shade: #1A2B2B;
}
.btn-darkslategray {
background: var(--darkslategray);
color: #ffffff;
}
// tailwind.config.js
colors: {
'darkslategray': {
DEFAULT: '#2F4F4F',
light: '#8D9E9E',
dark: '#1A2B2B',
},
}
The closest CSS named colors by perceptual (Lab) distance.