HueWiz / Colors / Darkslategray
#2F4F4F

Darkslategray

Darkslategray is a muted, gently desaturated, dark cool cyan (#2F4F4F). Also written as darkslategrey in CSS — both spellings resolve to #2F4F4F.

Build palettes with Darkslategray →

Using Darkslategray in your designs

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.

Darkslategray color palettes

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.

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Monochromatic

Tints and shades of Darkslategray

Tints mix darkslategray toward white; shades mix it toward black. Use the scale for hover states, borders and depth without leaving the hue.

Shades → base → tints

Contrast & accessibility

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).

PairingRatioNormal textLarge text
White text on Darkslategray8.93:1AAAAAA
Black text on Darkslategray2.35:1FailFail
Protanopia#3D3D4F
Deuteranopia#3B394F
Tritanopia#314F4F

Darkslategray in code

Copy-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',
  },
}

Colors similar to Darkslategray

The closest CSS named colors by perceptual (Lab) distance.

← PreviousdarkslateblueNext →darkturquoise
Copied