#1D1B2E color
The hex color #1D1B2E is a very dark, desaturated blue.
In the RGB color model it is made of 11.4% red, 10.6% green and 18% blue (29, 27, 46).
Its hue angle is 246°, with 26% saturation and 14% lightness. For print, the CMYK equivalent is 37% cyan, 41% magenta, 0% yellow and 82% black.
The closest named color is Black Velvet (#222233), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.82:1).
#1D1B2E color codes
| HEX | #1D1B2E | |
|---|---|---|
| RGB | rgb(29, 27, 46) | |
| RGB percent | rgb(11.4%, 10.6%, 18%) | |
| HSL | hsl(246, 26%, 14%) | |
| HSV / HSB | hsv(246, 41%, 18%) | |
| CMYK | cmyk(37%, 41%, 0%, 82%) | |
| CIE LAB | lab(10.87, 6.52, -12.36) | |
| CIE LCH | lch(10.87, 13.98, 297.8) | |
| CIE XYZ | xyz(1.392, 1.242, 2.751) | |
| Decimal | 1907502 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1D1B2E, 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 #1D1B2E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.25:1 | Fail | Fail | Fail |
| Sample text | 16.82:1 | Pass | Pass | Pass |
| #1D1B2E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.82:1 | Pass | Pass | Pass |
| Sample text | 1.25: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 #1D1B2E looks to people with the most common types of color vision deficiency.
#161e2fProtanopia
no red cones#151d2eDeuteranopia
no green cones#191e22Tritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #1d1b2e; }
.text { color: #1d1b2e; }
.border { border: 2px solid #1d1b2e; }
.transparent { background-color: rgb(29 27 46 / 50%); }
.gradient { background: linear-gradient(to right, #1d1b2e, #261b2e); }
Similar colors
#222233Black Velvet#1f2133Eclipse Elixir#151931Dark Knight#111122Corbeau#161e34Sombre Night#21263aMidnight Express#161d3bNightwalker#1e2433Moonless Mystery
Closest common color name: Dark Purple.
Questions
- What color is #1D1B2E?
- #1D1B2E is a very dark, desaturated blue, closest to the named color Black Velvet. It belongs to the black family of colors.
- What is the RGB value of #1D1B2E?
- The RGB value is 29, 27, 46: 29 red, 27 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #1D1B2E?
- The complementary color is #2C2E1B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1D1B2E?
- White text. Black text has a contrast ratio of 1.25:1 and white text 16.82:1. WCAG asks for at least 4.5:1 for normal text.