#1E202B color
The hex color #1E202B is a very dark, grayish blue.
In the RGB color model it is made of 11.8% red, 12.5% green and 16.9% blue (30, 32, 43).
Its hue angle is 231°, with 18% saturation and 14% lightness. For print, the CMYK equivalent is 30% cyan, 26% magenta, 0% yellow and 83% black.
The closest named color is Moonless Mystery (#1E2433), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.2:1).
#1E202B color codes
| HEX | #1E202B | |
|---|---|---|
| RGB | rgb(30, 32, 43) | |
| RGB percent | rgb(11.8%, 12.5%, 16.9%) | |
| HSL | hsl(231, 18%, 14%) | |
| HSV / HSB | hsv(231, 30%, 17%) | |
| CMYK | cmyk(30%, 26%, 0%, 83%) | |
| CIE LAB | lab(12.5, 2.22, -7.65) | |
| CIE LCH | lch(12.5, 7.97, 286.2) | |
| CIE XYZ | xyz(1.488, 1.483, 2.493) | |
| Decimal | 1974315 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1E202B, 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 #1E202B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.3:1 | Fail | Fail | Fail |
| Sample text | 16.2:1 | Pass | Pass | Pass |
| #1E202B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.2:1 | Pass | Pass | Pass |
| Sample text | 1.3: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 #1E202B looks to people with the most common types of color vision deficiency.
#1d212bProtanopia
no red cones#1c202bDeuteranopia
no green cones#1b2224Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #1e202b; }
.text { color: #1e202b; }
.border { border: 2px solid #1e202b; }
.transparent { background-color: rgb(30 32 43 / 50%); }
.gradient { background: linear-gradient(to right, #1e202b, #221e2b); }
Similar colors
#1e2433Moonless Mystery#1b2431Dark#222233Black Velvet#1f2133Eclipse Elixir#16161dEigengrau#222831Infinity#2c2a35Haiti#29292fJaguar
Closest common color name: Midnight Black.
Questions
- What color is #1E202B?
- #1E202B is a very dark, grayish blue, closest to the named color Moonless Mystery. It belongs to the black family of colors.
- What is the RGB value of #1E202B?
- The RGB value is 30, 32, 43: 30 red, 32 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #1E202B?
- The complementary color is #2B291E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1E202B?
- White text. Black text has a contrast ratio of 1.3:1 and white text 16.2:1. WCAG asks for at least 4.5:1 for normal text.