#172554 — Tints, Shades & Color Values
#172554 is a dark, moderately saturated blue. In Tailwind CSS this exact color is the utility class blue-950 (e.g. bg-blue-950, text-blue-950). Its nearest CSS named color is midnightblue (#191970). For readable text on a #172554 background, white text gives the strongest contrast (14.69:1). Because it is dark, #172554 suits text, navigation bars, and footers on light backgrounds, and its tints make natural hover and surface colors.
Color Values
| Hex | #172554 |
|---|---|
| RGB | rgb(23, 37, 84) |
| HSL | hsl(226, 57%, 21%) |
| HSV / HSB | 226°, 73%, 33% |
| Nearest named | midnightblue (#191970) |
Need these in another format? Use our hex to RGB converter for quick two-way conversion.
#172554 in Tailwind CSS (blue-950)
#172554 ships with Tailwind CSS as blue-950 — use it as bg-blue-950, text-blue-950, or border-blue-950. It sits at step 950 of the blue 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 #172554 (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
#2e3b65 -
20% tint
#455176 -
30% tint
#5d6687 -
40% tint
#747c98 -
50% tint
#8b92aa -
60% tint
#a2a8bb -
70% tint
#b9becc -
80% tint
#d1d3dd -
90% tint
#e8e9ee
Shades of #172554 (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#15214c -
20% shade
#121e43 -
30% shade
#101a3b -
40% shade
#0e1632 -
50% shade
#0c132a -
60% shade
#090f22 -
70% shade
#070b19 -
80% shade
#050711 -
90% shade
#020408
WCAG Contrast & Accessibility
Contrast ratios for text placed on a #172554 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.69:1 — AA normal: Pass · AA large: Pass · AAA: Pass |
|---|---|
| Black text 1.43: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 #172554 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: #1E1B4B (indigo-950), #0C4A6E (sky-900), #2C3E50, #1E3A5F, #1E293B (slate-800), #000080.
Frequently Asked Questions
-
What color is #172554?
#172554 is a dark, moderately saturated blue —
rgb(23, 37, 84). Its nearest CSS named color ismidnightblue. In Tailwind CSS it isblue-950. -
How do I make tints and shades of #172554?
Mix #172554 with white for tints and with black for shades. A 20% tint of #172554 is
#455176and a 20% shade is#121e43— the full 10%–90% ramps are precomputed on this page, or open #172554 in the generator for finer steps. -
What text color is readable on #172554?
White text gives the strongest contrast on a #172554 background at 14.69:1, which passes WCAG AA and AAA for normal text.
-
What is the Tailwind CSS class for #172554?
blue-950— use it asbg-blue-950,text-blue-950, orborder-blue-950. The full blue 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#172554? Put it on a free link-in-bio page →