#1E2140 color
The hex color #1E2140 is a very dark, desaturated blue.
In the RGB color model it is made of 11.8% red, 12.9% green and 25.1% blue (30, 33, 64).
Its hue angle is 235°, with 36% saturation and 18% lightness. For print, the CMYK equivalent is 53% cyan, 48% magenta, 0% yellow and 75% black.
The closest named color is Black Market (#222244), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.59:1).
#1E2140 color codes
| HEX | #1E2140 | |
|---|---|---|
| RGB | rgb(30, 33, 64) | |
| RGB percent | rgb(11.8%, 12.9%, 25.1%) | |
| HSL | hsl(235, 36%, 18%) | |
| HSV / HSB | hsv(235, 53%, 25%) | |
| CMYK | cmyk(53%, 48%, 0%, 75%) | |
| CIE LAB | lab(14.02, 8.73, -20.23) | |
| CIE LCH | lch(14.02, 22.03, 293.34) | |
| CIE XYZ | xyz(2.004, 1.734, 5.079) | |
| Decimal | 1974592 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1E2140, 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 #1E2140 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.59:1 | Pass | Pass | Pass |
| #1E2140 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.59:1 | Pass | Pass | Pass |
| Sample text | 1.35: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 #1E2140 looks to people with the most common types of color vision deficiency.
#152541Protanopia
no red cones#12223fDeuteranopia
no green cones#12272dTritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #1e2140; }
.text { color: #1e2140; }
.border { border: 2px solid #1e2140; }
.transparent { background-color: rgb(30 33 64 / 50%); }
.gradient { background: linear-gradient(to right, #1e2140, #2c1e40); }
Similar colors
#222244Black Market#161d3bNightwalker#151931Dark Knight#2a2243Midnight Velvet#112244Dark Eclipse#1d2951Space Cadet#211d49Azulado#161e34Sombre Night
Closest common color name: Oxford Blue.
Questions
- What color is #1E2140?
- #1E2140 is a very dark, desaturated blue, closest to the named color Black Market. It belongs to the blue family of colors.
- What is the RGB value of #1E2140?
- The RGB value is 30, 33, 64: 30 red, 33 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #1E2140?
- The complementary color is #403D1E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1E2140?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.59:1. WCAG asks for at least 4.5:1 for normal text.