#020617 — Tints, Shades & Color Values
#020617 is a very dark, vivid blue. In Tailwind CSS this exact color is the utility class slate-950 (e.g. bg-slate-950, text-slate-950). Its nearest CSS named color is black (#000000). For readable text on a #020617 background, white text gives the strongest contrast (20.17:1). Because it is dark, #020617 suits text, navigation bars, and footers on light backgrounds, and its tints make natural hover and surface colors.
Color Values
| Hex | #020617 |
|---|---|
| RGB | rgb(2, 6, 23) |
| HSL | hsl(229, 84%, 5%) |
| HSV / HSB | 229°, 91%, 9% |
| Nearest named | black (#000000) |
Need these in another format? Use our hex to RGB converter for quick two-way conversion.
#020617 in Tailwind CSS (slate-950)
#020617 ships with Tailwind CSS as slate-950 — use it as bg-slate-950, text-slate-950, or border-slate-950. It sits at step 950 of the slate 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 #020617 (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
#1b1f2e -
20% tint
#353845 -
30% tint
#4e515d -
40% tint
#676a74 -
50% tint
#81838b -
60% tint
#9a9ba2 -
70% tint
#b3b4b9 -
80% tint
#cccdd1 -
90% tint
#e6e6e8
Shades of #020617 (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#020515 -
20% shade
#020512 -
30% shade
#010410 -
40% shade
#01040e -
50% shade
#01030c -
60% shade
#010209 -
70% shade
#010207 -
80% shade
#000105 -
90% shade
#000102
WCAG Contrast & Accessibility
Contrast ratios for text placed on a #020617 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 20.17:1 — AA normal: Pass · AA large: Pass · AAA: Pass |
|---|---|
| Black text 1.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 #020617 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: #030712 (gray-950), #09090B (zinc-950), #111827 (gray-900), #082F49 (sky-950), #1F2937 (gray-800), #1E1B4B (indigo-950).
Frequently Asked Questions
-
What color is #020617?
#020617 is a very dark, vivid blue —
rgb(2, 6, 23). Its nearest CSS named color isblack. In Tailwind CSS it isslate-950. -
How do I make tints and shades of #020617?
Mix #020617 with white for tints and with black for shades. A 20% tint of #020617 is
#353845and a 20% shade is#020512— the full 10%–90% ramps are precomputed on this page, or open #020617 in the generator for finer steps. -
What text color is readable on #020617?
White text gives the strongest contrast on a #020617 background at 20.17:1, which passes WCAG AA and AAA for normal text.
-
What is the Tailwind CSS class for #020617?
slate-950— use it asbg-slate-950,text-slate-950, orborder-slate-950. The full slate 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#020617? Put it on a free link-in-bio page →