#1B282E color
The hex color #1B282E is a very dark, desaturated azure.
In the RGB color model it is made of 10.6% red, 15.7% green and 18% blue (27, 40, 46).
Its hue angle is 199°, with 26% saturation and 14% lightness. For print, the CMYK equivalent is 41% cyan, 13% magenta, 0% yellow and 82% black.
The closest named color is Black Pearl (#1E272C), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.11:1).
#1B282E color codes
| HEX | #1B282E | |
|---|---|---|
| RGB | rgb(27, 40, 46) | |
| RGB percent | rgb(10.6%, 15.7%, 18%) | |
| HSL | hsl(199, 26%, 14%) | |
| HSV / HSB | hsv(199, 41%, 18%) | |
| CMYK | cmyk(41%, 13%, 0%, 82%) | |
| CIE LAB | lab(15.21, -3.67, -5.71) | |
| CIE LCH | lch(15.21, 6.79, 237.26) | |
| CIE XYZ | xyz(1.704, 1.948, 2.87) | |
| Decimal | 1779758 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B282E, 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 #1B282E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.39:1 | Fail | Fail | Fail |
| Sample text | 15.11:1 | Pass | Pass | Pass |
| #1B282E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.11:1 | Pass | Pass | Pass |
| Sample text | 1.39: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 #1B282E looks to people with the most common types of color vision deficiency.
#25272eProtanopia
no red cones#22252eDeuteranopia
no green cones#152a2aTritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #1b282e; }
.text { color: #1b282e; }
.border { border: 2px solid #1b282e; }
.transparent { background-color: rgb(27 40 46 / 50%); }
.gradient { background: linear-gradient(to right, #1b282e, #1b1f2e); }
Similar colors
#1e272cBlack Pearl#172b36Oceanic Noir#242a2eCinder#10252aSunken Ship#293135Nightmare Fuel#0f282fBlack Box#2a3439Gunmetal#262a2bGraphite Black
Questions
- What color is #1B282E?
- #1B282E is a very dark, desaturated azure, closest to the named color Black Pearl. It belongs to the black family of colors.
- What is the RGB value of #1B282E?
- The RGB value is 27, 40, 46: 27 red, 40 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #1B282E?
- The complementary color is #2E211B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B282E?
- White text. Black text has a contrast ratio of 1.39:1 and white text 15.11:1. WCAG asks for at least 4.5:1 for normal text.