#374151 — Tints, Shades & Color Values
#374151 is a dark, muted blue. In Tailwind CSS this exact color is the utility class gray-700 (e.g. bg-gray-700, text-gray-700). Its nearest CSS named color is darkslategray (#2f4f4f). For readable text on a #374151 background, white text gives the strongest contrast (10.31:1). Because it is dark, #374151 suits text, navigation bars, and footers on light backgrounds, and its tints make natural hover and surface colors.
Color Values
| Hex | #374151 |
|---|---|
| RGB | rgb(55, 65, 81) |
| HSL | hsl(217, 19%, 27%) |
| HSV / HSB | 217°, 32%, 32% |
| Nearest named | darkslategray (#2f4f4f) |
Need these in another format? Use our hex to RGB converter for quick two-way conversion.
#374151 in Tailwind CSS (gray-700)
#374151 ships with Tailwind CSS as gray-700 — use it as bg-gray-700, text-gray-700, or border-gray-700. It sits at step 700 of the gray 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 #374151 (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
#4b5462 -
20% tint
#5f6774 -
30% tint
#737a85 -
40% tint
#878d97 -
50% tint
#9ba0a8 -
60% tint
#afb3b9 -
70% tint
#c3c6cb -
80% tint
#d7d9dc -
90% tint
#ebecee
Shades of #374151 (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#323b49 -
20% shade
#2c3441 -
30% shade
#272e39 -
40% shade
#212731 -
50% shade
#1c2129 -
60% shade
#161a20 -
70% shade
#111418 -
80% shade
#0b0d10 -
90% shade
#050608
WCAG Contrast & Accessibility
Contrast ratios for text placed on a #374151 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 10.31:1 — AA normal: Pass · AA large: Pass · AAA: Pass |
|---|---|
| Black text 2.04: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 #374151 from the ramps above as the background instead — small lightness moves change contrast quickly. Test any other pair with the free contrast checker.
More blue colors in the library: #334155 (slate-700), #075985 (sky-800), #000080, #34495E, #1E3A5F, #2C3E50.
Frequently Asked Questions
-
What color is #374151?
#374151 is a dark, muted blue —
rgb(55, 65, 81). Its nearest CSS named color isdarkslategray. In Tailwind CSS it isgray-700. -
How do I make tints and shades of #374151?
Mix #374151 with white for tints and with black for shades. A 20% tint of #374151 is
#5f6774and a 20% shade is#2c3441— the full 10%–90% ramps are precomputed on this page, or open #374151 in the generator for finer steps. -
What text color is readable on #374151?
White text gives the strongest contrast on a #374151 background at 10.31:1, which passes WCAG AA and AAA for normal text.
-
What is the Tailwind CSS class for #374151?
gray-700— use it asbg-gray-700,text-gray-700, orborder-gray-700. The full gray 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#374151? Put it on a free link-in-bio page →