#1E1B4B — Tints, Shades & Color Values

#1E1B4B

#1E1B4B is a dark, moderately saturated blue. In Tailwind CSS this exact color is the utility class indigo-950 (e.g. bg-indigo-950, text-indigo-950). Its nearest CSS named color is midnightblue (#191970). For readable text on a #1E1B4B background, white text gives the strongest contrast (15.99:1). Because it is dark, #1E1B4B 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 #1E1B4B in the tint & shade generator to explore the full lightness, hue, and chroma scales and copy any step.

Color Values

Hex#1E1B4B
RGBrgb(30, 27, 75)
HSLhsl(244, 47%, 20%)
HSV / HSB244°, 64%, 29%
Nearest namedmidnightblue (#191970)

Need these in another format? Use our hex to RGB converter for quick two-way conversion.

#1E1B4B in Tailwind CSS (indigo-950)

#1E1B4B ships with Tailwind CSS as indigo-950 — use it as bg-indigo-950, text-indigo-950, or border-indigo-950. It sits at step 950 of the indigo 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 #1E1B4B (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 #1E1B4B (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 #1E1B4B 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 15.99:1 — AA normal: Pass · AA large: Pass · AAA: Pass
Black text 1.31: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 #1E1B4B 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: #172554 (blue-950), #1E293B (slate-800), #1F2937 (gray-800), #0C4A6E (sky-900), #082F49 (sky-950), #2C3E50.

Frequently Asked Questions

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

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