#1D213A color
The hex color #1D213A is a very dark, desaturated blue.
In the RGB color model it is made of 11.4% red, 12.9% green and 22.7% blue (29, 33, 58).
Its hue angle is 232°, with 33% saturation and 17% lightness. For print, the CMYK equivalent is 50% cyan, 43% magenta, 0% yellow and 77% black.
The closest named color is Nightwalker (#161D3B), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.78:1).
#1D213A color codes
| HEX | #1D213A | |
|---|---|---|
| RGB | rgb(29, 33, 58) | |
| RGB percent | rgb(11.4%, 12.9%, 22.7%) | |
| HSL | hsl(232, 33%, 17%) | |
| HSV / HSB | hsv(232, 50%, 23%) | |
| CMYK | cmyk(50%, 43%, 0%, 77%) | |
| CIE LAB | lab(13.56, 6.22, -16.75) | |
| CIE LCH | lch(13.56, 17.87, 290.36) | |
| CIE XYZ | xyz(1.814, 1.654, 4.226) | |
| Decimal | 1909050 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1D213A, 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 #1D213A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.33:1 | Fail | Fail | Fail |
| Sample text | 15.78:1 | Pass | Pass | Pass |
| #1D213A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.78:1 | Pass | Pass | Pass |
| Sample text | 1.33: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 #1D213A looks to people with the most common types of color vision deficiency.
#18243bProtanopia
no red cones#162239Deuteranopia
no green cones#13262aTritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #1d213a; }
.text { color: #1d213a; }
.border { border: 2px solid #1d213a; }
.transparent { background-color: rgb(29 33 58 / 50%); }
.gradient { background: linear-gradient(to right, #1d213a, #271d3a); }
Similar colors
#161d3bNightwalker#151931Dark Knight#161e34Sombre Night#21263aMidnight Express#1f2133Eclipse Elixir#222233Black Velvet#222244Black Market#1c2841Eternal Darkness
Closest common color name: Oxford Blue.
Questions
- What color is #1D213A?
- #1D213A is a very dark, desaturated blue, closest to the named color Nightwalker. It belongs to the blue family of colors.
- What is the RGB value of #1D213A?
- The RGB value is 29, 33, 58: 29 red, 33 green and 58 blue on a 0 to 255 scale.
- What is the complementary color of #1D213A?
- The complementary color is #3A361D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1D213A?
- White text. Black text has a contrast ratio of 1.33:1 and white text 15.78:1. WCAG asks for at least 4.5:1 for normal text.