#18202D color
The hex color #18202D is a very dark, desaturated azure.
In the RGB color model it is made of 9.4% red, 12.5% green and 17.6% blue (24, 32, 45).
Its hue angle is 217°, with 30% saturation and 14% lightness. For print, the CMYK equivalent is 47% cyan, 29% magenta, 0% yellow and 82% black.
The closest named color is Dark (#1B2431), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.36:1).
#18202D color codes
| HEX | #18202D | |
|---|---|---|
| RGB | rgb(24, 32, 45) | |
| RGB percent | rgb(9.4%, 12.5%, 17.6%) | |
| HSL | hsl(217, 30%, 14%) | |
| HSV / HSB | hsv(217, 47%, 18%) | |
| CMYK | cmyk(47%, 29%, 0%, 82%) | |
| CIE LAB | lab(12.07, 0.6, -9.81) | |
| CIE LCH | lch(12.07, 9.83, 273.52) | |
| CIE XYZ | xyz(1.367, 1.417, 2.684) | |
| Decimal | 1581101 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #18202D, 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 #18202D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.28:1 | Fail | Fail | Fail |
| Sample text | 16.36:1 | Pass | Pass | Pass |
| #18202D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.36:1 | Pass | Pass | Pass |
| Sample text | 1.28: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 #18202D looks to people with the most common types of color vision deficiency.
#1b212eProtanopia
no red cones#191f2dDeuteranopia
no green cones#112324Tritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #18202d; }
.text { color: #18202d; }
.border { border: 2px solid #18202d; }
.transparent { background-color: rgb(24 32 45 / 50%); }
.gradient { background: linear-gradient(to right, #18202d, #1a182d); }
Similar colors
#1b2431Dark#1e2433Moonless Mystery#102030The Count’s Black#222831Infinity#0e1d32Trapped Darkness#0c121bMidnight Edition#21263aMidnight Express#1f2133Eclipse Elixir
Closest common color name: Rich Black.
Questions
- What color is #18202D?
- #18202D is a very dark, desaturated azure, closest to the named color Dark. It belongs to the black family of colors.
- What is the RGB value of #18202D?
- The RGB value is 24, 32, 45: 24 red, 32 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #18202D?
- The complementary color is #2D2518, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #18202D?
- White text. Black text has a contrast ratio of 1.28:1 and white text 16.36:1. WCAG asks for at least 4.5:1 for normal text.