Color specimenNo. 01973067

#1E1B4B

Very Dark Indigo

A deterministic reference card for #1E1B4B. Every value, scheme, and snippet below is computed from the hex — no database, no guesswork.

RGB
30, 27, 75
HSL
244°, 47%, 20%
Text
White on top

Tailwind CSS · indigo

tailwind · indigo 950

The Tailwind CSS utility classes bg-indigo-950, text-indigo-950, and friends all reference this hex value.

Scale context · indigo

Click any step to jump to its landing page.

Class name
indigo-950
Hex
#1E1B4B
Closest CSS named color
midnightblue
Full color breakdown
/color/1e1b4b

Developer snippets

Copy-ready code

Every snippet below is generated from the hex — not a hand-maintained table.

Conversions

Same color, seven encodings

Nearest matches

Closest in other design systems

Accessibility

Contrast against white & black

On white

The quick brown fox

Jumps over the lazy dog. Testing readability of #1E1B4B as the text color.

15.99:1
AA passAAA passLarge pass

Rating · AAA

On black

The quick brown fox

Jumps over the lazy dog. Testing readability of #1E1B4B as the text color.

1.31:1
AA failAAA failLarge fail

Rating · Fail

Recommendation

When using #1E1B4B as a background, pair it with #ffffff text for the best WCAG contrast.

Contrast ratios only — one part of WCAG 2.1. Not a certification of accessibility or legal compliance.

Related Tailwind swatches

Other stops in indigo