#042F2E — Tints, Shades & Color Values
#042F2E is a very dark, vivid cyan. In Tailwind CSS this exact color is the utility class teal-950 (e.g. bg-teal-950, text-teal-950). Its nearest CSS named color is darkslategray (#2f4f4f). For readable text on a #042F2E background, white text gives the strongest contrast (14.47:1). Because it is dark, #042F2E suits text, navigation bars, and footers on light backgrounds, and its tints make natural hover and surface colors.
Color Values
| Hex | #042F2E |
|---|---|
| RGB | rgb(4, 47, 46) |
| HSL | hsl(179, 84%, 10%) |
| HSV / HSB | 179°, 91%, 18% |
| Nearest named | darkslategray (#2f4f4f) |
Need these in another format? Use our hex to RGB converter for quick two-way conversion.
#042F2E in Tailwind CSS (teal-950)
#042F2E ships with Tailwind CSS as teal-950 — use it as bg-teal-950, text-teal-950, or border-teal-950. It sits at step 950 of the teal ramp; every other step links to its own page:
Browse the full Tailwind palette in the color library, or generate in-between steps with the tint & shade generator.
Tints of #042F2E (Mixed with White)
Each step blends the base color toward white using new = old + (255 − old) × factor. Click a swatch to open it in the generator.
-
10% tint
#1d4443 -
20% tint
#365958 -
30% tint
#4f6d6d -
40% tint
#688282 -
50% tint
#829797 -
60% tint
#9bacab -
70% tint
#b4c1c0 -
80% tint
#cdd5d5 -
90% tint
#e6eaea
Shades of #042F2E (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#042a29 -
20% shade
#032625 -
30% shade
#032120 -
40% shade
#021c1c -
50% shade
#021817 -
60% shade
#021312 -
70% shade
#010e0e -
80% shade
#010909 -
90% shade
#000505
WCAG Contrast & Accessibility
Contrast ratios for text placed on a #042F2E background. WCAG requires 4.5:1 for normal text (AA), 3:1 for large text (AA), and 7:1 for normal text (AAA).
| Text color | White text 14.47:1 — AA normal: Pass · AA large: Pass · AAA: Pass |
|---|---|
| Black text 1.45:1 — AA normal: Fail · AA large: Fail · AAA: Fail |
If neither pure white nor pure black reaches the level you need, pick a lighter tint of #042F2E from the ramps above as the background instead — small lightness moves change contrast quickly. Test any other pair with the free contrast checker.
More cyan colors in the library: #022C22 (emerald-950), #083344 (cyan-950), #064E3B (emerald-900), #065F46 (emerald-800), #164E63 (cyan-900), #047857 (emerald-700).
Frequently Asked Questions
-
What color is #042F2E?
#042F2E is a very dark, vivid cyan —
rgb(4, 47, 46). Its nearest CSS named color isdarkslategray. In Tailwind CSS it isteal-950. -
How do I make tints and shades of #042F2E?
Mix #042F2E with white for tints and with black for shades. A 20% tint of #042F2E is
#365958and a 20% shade is#032625— the full 10%–90% ramps are precomputed on this page, or open #042F2E in the generator for finer steps. -
What text color is readable on #042F2E?
White text gives the strongest contrast on a #042F2E background at 14.47:1, which passes WCAG AA and AAA for normal text.
-
What is the Tailwind CSS class for #042F2E?
teal-950— use it asbg-teal-950,text-teal-950, orborder-teal-950. The full teal 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#042F2E? Put it on a free link-in-bio page →