#042F2E — Tints, Shades & Color Values

#042F2E

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

Want to fine-tune this color interactively? Open #042F2E in the tint & shade generator to explore the full lightness, hue, and chroma scales and copy any step.

Color Values

Hex#042F2E
RGBrgb(4, 47, 46)
HSLhsl(179, 84%, 10%)
HSV / HSB179°, 91%, 18%
Nearest nameddarkslategray (#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.

Shades of #042F2E (Mixed with Black)

Each step blends the base color toward black using new = old × (1 − factor).

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

Browse more colors in the color library, or start from any hex code on the HexTints homepage.

Building a brand around #042F2E? Put it on a free link-in-bio page →