Toolman

#1E1B4B color

#1E1B4B#1E1B4B

The swatch above shows #1E1B4B with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.

#1E1B4B is a dark, moderately saturated blue, closest to the CSS named color midnightblue (#191970).

It is also a Tailwind CSS default: indigo-950. That means you can write bg-indigo-950 or text-indigo-950 directly, with no arbitrary-value brackets and no entry in your theme config.

Color values

HEX#1E1B4B
RGBrgb(30, 27, 75)
HSLhsl(244, 47%, 20%)
CMYKcmyk(60%, 64%, 0%, 71%)
Decimal1973067
CSScolor: #1E1B4B;
Android0xFF1E1B4B
SwiftUIColor(red: 0.118, green: 0.106, blue: 0.294, alpha: 1)

Accessibility and contrast

White text on #1E1B4B15.99:1 — AA pass · AA large pass · AAA pass
Black text on #1E1B4B1.31:1 — AA fail · AA large fail · AAA fail
Recommended text colorwhite

WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Tints and shades of #1E1B4B

Each swatch keeps the hue and saturation of #1E1B4B and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #1E1B4B

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #1E1B4B in code

/* CSS */
.element { color: #1E1B4B; background-color: #1E1B4B; }
.element { color: rgb(30 27 75); }
.element { color: hsl(244 47% 20%); }

/* Tailwind */
<div class="bg-indigo-950 text-white">

/* SCSS variable */
$brand: #1E1B4B;

Frequently asked questions

What color is #1E1B4B?

#1E1B4B is a dark, moderately saturated blue. Its hue sits at 244° on the color wheel, with 47% saturation and 20% lightness.

What is #1E1B4B in RGB?

#1E1B4B converts to rgb(30, 27, 75) — 30 red, 27 green and 75 blue.

What is #1E1B4B in CMYK?

Approximately cmyk(60%, 64%, 0%, 71%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.

Should text on #1E1B4B be white or black?

White gives the better contrast ratio (15.99:1 versus 1.31:1).

What is the complementary color of #1E1B4B?

#484B1B — the hue directly opposite #1E1B4B on the color wheel.

Convert any color → · Browse all colors