#1E272B color
The hex color #1E272B is a very dark, grayish azure.
In the RGB color model it is made of 11.8% red, 15.3% green and 16.9% blue (30, 39, 43).
Its hue angle is 198°, with 18% saturation and 14% lightness. For print, the CMYK equivalent is 30% cyan, 9% magenta, 0% yellow and 83% black.
The closest named color is Black Pearl (#1E272C), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.21:1).
#1E272B color codes
| HEX | #1E272B | |
|---|---|---|
| RGB | rgb(30, 39, 43) | |
| RGB percent | rgb(11.8%, 15.3%, 16.9%) | |
| HSL | hsl(198, 18%, 14%) | |
| HSV / HSB | hsv(198, 30%, 17%) | |
| CMYK | cmyk(30%, 9%, 0%, 83%) | |
| CIE LAB | lab(14.96, -2.77, -3.93) | |
| CIE LCH | lch(14.96, 4.81, 234.81) | |
| CIE XYZ | xyz(1.697, 1.901, 2.563) | |
| Decimal | 1976107 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1E272B, 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 #1E272B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.21:1 | Pass | Pass | Pass |
| #1E272B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.21:1 | Pass | Pass | Pass |
| Sample text | 1.38: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 #1E272B looks to people with the most common types of color vision deficiency.
#25272bProtanopia
no red cones#23252bDeuteranopia
no green cones#1a2828Tritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #1e272b; }
.text { color: #1e272b; }
.border { border: 2px solid #1e272b; }
.transparent { background-color: rgb(30 39 43 / 50%); }
.gradient { background: linear-gradient(to right, #1e272b, #1e212b); }
Similar colors
#1e272cBlack Pearl#242a2eCinder#262a2bGraphite Black#293135Nightmare Fuel#2a3439Gunmetal#222831Infinity#1c1e21Satin Deep Black#172b36Oceanic Noir
Questions
- What color is #1E272B?
- #1E272B is a very dark, grayish azure, closest to the named color Black Pearl. It belongs to the black family of colors.
- What is the RGB value of #1E272B?
- The RGB value is 30, 39, 43: 30 red, 39 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #1E272B?
- The complementary color is #2B221E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1E272B?
- White text. Black text has a contrast ratio of 1.38:1 and white text 15.21:1. WCAG asks for at least 4.5:1 for normal text.