#1E2E40 color
The hex color #1E2E40 is a very dark, desaturated azure.
In the RGB color model it is made of 11.8% red, 18% green and 25.1% blue (30, 46, 64).
Its hue angle is 212°, with 36% saturation and 18% lightness. For print, the CMYK equivalent is 53% cyan, 28% magenta, 0% yellow and 75% black.
The closest named color is Dark (#1B2431), a difference of 4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.82:1).
#1E2E40 color codes
| HEX | #1E2E40 | |
|---|---|---|
| RGB | rgb(30, 46, 64) | |
| RGB percent | rgb(11.8%, 18%, 25.1%) | |
| HSL | hsl(212, 36%, 18%) | |
| HSV / HSB | hsv(212, 53%, 25%) | |
| CMYK | cmyk(53%, 28%, 0%, 75%) | |
| CIE LAB | lab(18.37, -0.68, -13.42) | |
| CIE LCH | lch(18.37, 13.44, 267.11) | |
| CIE XYZ | xyz(2.438, 2.6, 5.223) | |
| Decimal | 1977920 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1E2E40, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #1E2E40 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.52:1 | Fail | Fail | Fail |
| Sample text | 13.82:1 | Pass | Pass | Pass |
| #1E2E40 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.82:1 | Pass | Pass | Pass |
| Sample text | 1.52:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #1E2E40 looks to people with the most common types of color vision deficiency.
#272f41Protanopia
no red cones#232b40Deuteranopia
no green cones#103234Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #1e2e40; }
.text { color: #1e2e40; }
.border { border: 2px solid #1e2e40; }
.transparent { background-color: rgb(30 46 64 / 50%); }
.gradient { background: linear-gradient(to right, #1e2e40, #1f1e40); }
Similar colors
#1b2431Dark#102030The Count’s Black#1e3442Blue Whale#0b334dSea of Stars#1e2433Moonless Mystery#222831Infinity#303543Total Eclipse#1c2841Eternal Darkness
Closest common color name: Prussian Blue.
Questions
- What color is #1E2E40?
- #1E2E40 is a very dark, desaturated azure, closest to the named color Dark. It belongs to the blue family of colors.
- What is the RGB value of #1E2E40?
- The RGB value is 30, 46, 64: 30 red, 46 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #1E2E40?
- The complementary color is #40301E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1E2E40?
- White text. Black text has a contrast ratio of 1.52:1 and white text 13.82:1. WCAG asks for at least 4.5:1 for normal text.