#181D33 color
The hex color #181D33 is a very dark, desaturated blue.
In the RGB color model it is made of 9.4% red, 11.4% green and 20% blue (24, 29, 51).
Its hue angle is 229°, with 36% saturation and 15% lightness. For print, the CMYK equivalent is 53% cyan, 43% magenta, 0% yellow and 80% black.
The closest named color is Sombre Night (#161E34), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.64:1).
#181D33 color codes
| HEX | #181D33 | |
|---|---|---|
| RGB | rgb(24, 29, 51) | |
| RGB percent | rgb(9.4%, 11.4%, 20%) | |
| HSL | hsl(229, 36%, 15%) | |
| HSV / HSB | hsv(229, 53%, 20%) | |
| CMYK | cmyk(53%, 43%, 0%, 80%) | |
| CIE LAB | lab(11.36, 5.03, -15.25) | |
| CIE LCH | lch(11.36, 16.06, 288.26) | |
| CIE XYZ | xyz(1.413, 1.312, 3.31) | |
| Decimal | 1580339 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #181D33, 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 #181D33 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.26:1 | Fail | Fail | Fail |
| Sample text | 16.64:1 | Pass | Pass | Pass |
| #181D33 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.64:1 | Pass | Pass | Pass |
| Sample text | 1.26: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 #181D33 looks to people with the most common types of color vision deficiency.
#151f34Protanopia
no red cones#131d32Deuteranopia
no green cones#0f2225Tritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #181d33; }
.text { color: #181d33; }
.border { border: 2px solid #181d33; }
.transparent { background-color: rgb(24 29 51 / 50%); }
.gradient { background: linear-gradient(to right, #181d33, #211833); }
Similar colors
#161e34Sombre Night#151931Dark Knight#1f2133Eclipse Elixir#21263aMidnight Express#161d3bNightwalker#222233Black Velvet#0e1d32Trapped Darkness#1c2841Eternal Darkness
Closest common color name: Oxford Blue.
Questions
- What color is #181D33?
- #181D33 is a very dark, desaturated blue, closest to the named color Sombre Night. It belongs to the black family of colors.
- What is the RGB value of #181D33?
- The RGB value is 24, 29, 51: 24 red, 29 green and 51 blue on a 0 to 255 scale.
- What is the complementary color of #181D33?
- The complementary color is #332E18, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #181D33?
- White text. Black text has a contrast ratio of 1.26:1 and white text 16.64:1. WCAG asks for at least 4.5:1 for normal text.