Dark Slate Gray (#2F4F4F)

HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.

Preview

Sample Text
This is how text may look on this color.
Best text color: #FFFFFF
Contrast vs white: 8.93:1 — vs black: 2.35:1

Color values

  • HEX #2F4F4F
  • RGB rgb(47, 79, 79)
  • HSL hsl(180, 40%, 30%)
  • CMYK cmyk( 40.51, 0, 0, 69.02 )
  • Websafe #336666

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #2F4F4F based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Dark Slate Gray
#2F4F4F Base
#4F2F2F
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Dark Slate Gray
#2F4F4F Base
#2F4F3F
#2F3F4F
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Dark Slate Gray
#2F4F4F Base
#4F2F4F
#4F4F2F
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Dark Slate Gray
#2F4F4F Base
#4F2F3F
#4F3F2F
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Dark Slate Gray
#2F4F4F Base
#3F2F4F
#4F2F2F
#3F4F2F
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Dark Slate Gray
#2F4F4F Base
#0A1010
#121F1F
#203535
#3E6969
#4C7F7F
#6EA9A9
Shades & Tints

Darker shades and lighter tints of Dark Slate Gray, generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#0A1010
#111D1D
#192929
#203636
#274242
Dark Slate Gray #2F4F4F Base
#4A7C7C
#68A5A5
#95C0C0
#C2DBDB
#EFF5F5
CSS & SCSS Snippets

Ready-to-use code snippets for #2F4F4F. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #2F4F4F;
}

/* Text */
.element {
    color: #2F4F4F;
}

/* Border */
.element {
    border: 1px solid #2F4F4F;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #2F4F4F,
        #6F2F2F
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #2F4F4F,
        #6F2F2F
    );
}
SCSS Variable
// SCSS variable
$dark-slate-gray: #2F4F4F;

// With RGB channels (useful for rgba() usage)
$dark-slate-gray-r: 47;
$dark-slate-gray-g: 79;
$dark-slate-gray-b: 79;

// Usage
.element {
    background-color: $dark-slate-gray;
    color: rgba($dark-slate-gray-r, $dark-slate-gray-g, $dark-slate-gray-b, 0.8);
}
Color Blindness Simulation

How Dark Slate Gray appears to people with different types of color vision deficiency.

Normal Vision #2F4F4F How the color appears with full color vision.
Deuteranopia #474750 Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
Protanopia #4C4C4F Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #2F4F4F Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #4A4A4A Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Dark Slate Gray ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Dark Slate Gray #2F4F4F Base
Japanese Indigo #264348 ΔE 4.93
Midnight Green #004953 ΔE 6.39
Deep Jungle Green #004B49 ΔE 6.57
Warm Black #004242 ΔE 6.89

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.