#181D42 color
The hex color #181D42 is a very dark, desaturated blue.
In the RGB color model it is made of 9.4% red, 11.4% green and 25.9% blue (24, 29, 66).
Its hue angle is 233°, with 47% saturation and 18% lightness. For print, the CMYK equivalent is 64% cyan, 56% magenta, 0% yellow and 74% black.
The closest named color is Black Market (#222244), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.24:1).
#181D42 color codes
| HEX | #181D42 | |
|---|---|---|
| RGB | rgb(24, 29, 66) | |
| RGB percent | rgb(9.4%, 11.4%, 25.9%) | |
| HSL | hsl(233, 47%, 18%) | |
| HSV / HSB | hsv(233, 64%, 26%) | |
| CMYK | cmyk(64%, 56%, 0%, 74%) | |
| CIE LAB | lab(12.39, 10.88, -24.26) | |
| CIE LCH | lch(12.39, 26.59, 294.15) | |
| CIE XYZ | xyz(1.799, 1.466, 5.341) | |
| Decimal | 1580354 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #181D42, 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 #181D42 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.29:1 | Fail | Fail | Fail |
| Sample text | 16.24:1 | Pass | Pass | Pass |
| #181D42 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.24:1 | Pass | Pass | Pass |
| Sample text | 1.29: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 #181D42 looks to people with the most common types of color vision deficiency.
#0a2243Protanopia
no red cones#051f41Deuteranopia
no green cones#03252cTritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #181d42; }
.text { color: #181d42; }
.border { border: 2px solid #181d42; }
.transparent { background-color: rgb(24 29 66 / 50%); }
.gradient { background: linear-gradient(to right, #181d42, #281842); }
Similar colors
#222244Black Market#161d3bNightwalker#1c1e4dFly-by-Night#211d49Azulado#112244Dark Eclipse#071037Infinite Night#231c4dSilent Orbit#1d2951Space Cadet
Closest common color name: Oxford Blue.
Questions
- What color is #181D42?
- #181D42 is a very dark, desaturated blue, closest to the named color Black Market. It belongs to the blue family of colors.
- What is the RGB value of #181D42?
- The RGB value is 24, 29, 66: 24 red, 29 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #181D42?
- The complementary color is #423D18, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #181D42?
- White text. Black text has a contrast ratio of 1.29:1 and white text 16.24:1. WCAG asks for at least 4.5:1 for normal text.