#1E293B color
#1E293B is a very dark, muted blue, closest to the CSS named color midnightblue (#191970).
Color values
| HEX | #1E293B |
| RGB | rgb(30, 41, 59) |
| HSL | hsl(217, 33%, 17%) |
| CMYK | cmyk(49%, 31%, 0%, 77%) |
| Decimal | 1976635 |
| CSS | color: #1E293B; |
| Android | 0xFF1E293B |
| Swift | UIColor(red: 0.118, green: 0.161, blue: 0.231, alpha: 1) |
Accessibility and contrast
| White text on #1E293B | 14.63:1 — AA pass · AA large pass · AAA pass |
| Black text on #1E293B | 1.44:1 — AA fail · AA large fail · AAA fail |
| Recommended text color | white |
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 #1E293B
Each swatch keeps the hue and saturation of #1E293B and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #1E293B
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #1E293B in code
/* CSS */
.element { color: #1E293B; background-color: #1E293B; }
.element { color: rgb(30 41 59); }
.element { color: hsl(217 33% 17%); }
/* Tailwind arbitrary value */
<div class="bg-[#1E293B] text-white">
/* SCSS variable */
$brand: #1E293B;
Frequently asked questions
What color is #1E293B?
#1E293B is a very dark, muted blue. Its hue sits at 217° on the color wheel, with 33% saturation and 17% lightness.
What is #1E293B in RGB?
#1E293B converts to rgb(30, 41, 59) — 30 red, 41 green and 59 blue.
What is #1E293B in CMYK?
Approximately cmyk(49%, 31%, 0%, 77%). 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 #1E293B be white or black?
White gives the better contrast ratio (14.63:1 versus 1.44:1).
What is the complementary color of #1E293B?
#3A2F1D — the hue directly opposite #1E293B on the color wheel.