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
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.
The color directly opposite on the color wheel — creates maximum contrast and vibrance.
#2F4F4F
Base
#4F2F2F
Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.
#2F4F4F
Base
#2F4F3F
#2F3F4F
Three colors equally spaced 120° apart — bold, balanced, and visually rich.
#2F4F4F
Base
#4F2F4F
#4F4F2F
Two colors flanking the complement — high contrast with less tension than full complementary.
#2F4F4F
Base
#4F2F3F
#4F3F2F
Four colors at 90° intervals — rich variety, best when one color dominates.
#2F4F4F
Base
#3F2F4F
#4F2F2F
#3F4F2F
Shades and tints of the same hue — cohesive, elegant, and easy to work with.
#2F4F4F
Base
#0A1010
#121F1F
#203535
#3E6969
#4C7F7F
#6EA9A9
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
#2F4F4F
Base
#4A7C7C
#68A5A5
#95C0C0
#C2DBDB
#EFF5F5
Ready-to-use code snippets for #2F4F4F. Click the copy button to copy any snippet to your clipboard.
/* Background */
.element {
background-color: #2F4F4F;
}
/* Text */
.element {
color: #2F4F4F;
}
/* Border */
.element {
border: 1px solid #2F4F4F;
}
/* Linear gradient to complementary */
.element {
background: linear-gradient(
to right,
#2F4F4F,
#6F2F2F
);
}
/* Radial gradient */
.element {
background: radial-gradient(
circle,
#2F4F4F,
#6F2F2F
);
}
// 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);
}
How Dark Slate Gray appears to people with different types of color vision deficiency.
#2F4F4F
How the color appears with full color vision.
#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.
#4C4C4F
Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
#2F4F4F
Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
#4A4A4A
Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
How to use this color
- Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
- Use CMYK when preparing print assets (posters, packaging, brochures).
- Check contrast before using it for text or important UI elements.