#1D1A2F color
The hex color #1D1A2F is a very dark, desaturated blue.
In the RGB color model it is made of 11.4% red, 10.2% green and 18.4% blue (29, 26, 47).
Its hue angle is 249°, with 29% saturation and 14% lightness. For print, the CMYK equivalent is 38% cyan, 45% magenta, 0% yellow and 82% black.
The closest named color is Dark Knight (#151931), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.92:1).
#1D1A2F color codes
| HEX | #1D1A2F | |
|---|---|---|
| RGB | rgb(29, 26, 47) | |
| RGB percent | rgb(11.4%, 10.2%, 18.4%) | |
| HSL | hsl(249, 29%, 14%) | |
| HSV / HSB | hsv(249, 45%, 18%) | |
| CMYK | cmyk(38%, 45%, 0%, 82%) | |
| CIE LAB | lab(10.6, 7.61, -13.52) | |
| CIE LCH | lch(10.6, 15.51, 299.38) | |
| CIE XYZ | xyz(1.389, 1.205, 2.848) | |
| Decimal | 1907247 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1D1A2F, 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 #1D1A2F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.92:1 | Pass | Pass | Pass |
| #1D1A2F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.92:1 | Pass | Pass | Pass |
| Sample text | 1.24: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 #1D1A2F looks to people with the most common types of color vision deficiency.
#141d30Protanopia
no red cones#141c2eDeuteranopia
no green cones#191e22Tritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #1d1a2f; }
.text { color: #1d1a2f; }
.border { border: 2px solid #1d1a2f; }
.transparent { background-color: rgb(29 26 47 / 50%); }
.gradient { background: linear-gradient(to right, #1d1a2f, #271a2f); }
Similar colors
#151931Dark Knight#222233Black Velvet#1f2133Eclipse Elixir#111122Corbeau#161d3bNightwalker#161e34Sombre Night#21263aMidnight Express#222244Black Market
Closest common color name: Dark Purple.
Questions
- What color is #1D1A2F?
- #1D1A2F is a very dark, desaturated blue, closest to the named color Dark Knight. It belongs to the black family of colors.
- What is the RGB value of #1D1A2F?
- The RGB value is 29, 26, 47: 29 red, 26 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #1D1A2F?
- The complementary color is #2C2F1A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1D1A2F?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.92:1. WCAG asks for at least 4.5:1 for normal text.