#1D2230 color
The hex color #1D2230 is a very dark, grayish blue.
In the RGB color model it is made of 11.4% red, 13.3% green and 18.8% blue (29, 34, 48).
Its hue angle is 224°, with 25% saturation and 15% lightness. For print, the CMYK equivalent is 40% cyan, 29% magenta, 0% yellow and 81% black.
The closest named color is Moonless Mystery (#1E2433), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.86:1).
#1D2230 color codes
| HEX | #1D2230 | |
|---|---|---|
| RGB | rgb(29, 34, 48) | |
| RGB percent | rgb(11.4%, 13.3%, 18.8%) | |
| HSL | hsl(224, 25%, 15%) | |
| HSV / HSB | hsv(224, 40%, 19%) | |
| CMYK | cmyk(40%, 29%, 0%, 81%) | |
| CIE LAB | lab(13.34, 1.99, -9.97) | |
| CIE LCH | lch(13.34, 10.17, 281.27) | |
| CIE XYZ | xyz(1.612, 1.619, 3.023) | |
| Decimal | 1909296 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1D2230, 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 #1D2230 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.32:1 | Fail | Fail | Fail |
| Sample text | 15.86:1 | Pass | Pass | Pass |
| #1D2230 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.86:1 | Pass | Pass | Pass |
| Sample text | 1.32: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 #1D2230 looks to people with the most common types of color vision deficiency.
#1e2331Protanopia
no red cones#1c2230Deuteranopia
no green cones#182527Tritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #1d2230; }
.text { color: #1d2230; }
.border { border: 2px solid #1d2230; }
.transparent { background-color: rgb(29 34 48 / 50%); }
.gradient { background: linear-gradient(to right, #1d2230, #221d30); }
Similar colors
#1e2433Moonless Mystery#1b2431Dark#1f2133Eclipse Elixir#21263aMidnight Express#222233Black Velvet#222831Infinity#161e34Sombre Night#0e1d32Trapped Darkness
Closest common color name: Rich Black.
Questions
- What color is #1D2230?
- #1D2230 is a very dark, grayish blue, closest to the named color Moonless Mystery. It belongs to the black family of colors.
- What is the RGB value of #1D2230?
- The RGB value is 29, 34, 48: 29 red, 34 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #1D2230?
- The complementary color is #302B1D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1D2230?
- White text. Black text has a contrast ratio of 1.32:1 and white text 15.86:1. WCAG asks for at least 4.5:1 for normal text.