#18202F color
The hex color #18202F is a very dark, desaturated azure.
In the RGB color model it is made of 9.4% red, 12.5% green and 18.4% blue (24, 32, 47).
Its hue angle is 219°, with 32% saturation and 14% lightness. For print, the CMYK equivalent is 49% cyan, 32% magenta, 0% yellow and 82% black.
The closest named color is Moonless Mystery (#1E2433), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.32:1).
#18202F color codes
| HEX | #18202F | |
|---|---|---|
| RGB | rgb(24, 32, 47) | |
| RGB percent | rgb(9.4%, 12.5%, 18.4%) | |
| HSL | hsl(219, 32%, 14%) | |
| HSV / HSB | hsv(219, 49%, 18%) | |
| CMYK | cmyk(49%, 32%, 0%, 82%) | |
| CIE LAB | lab(12.17, 1.31, -11.1) | |
| CIE LCH | lch(12.17, 11.17, 276.76) | |
| CIE XYZ | xyz(1.406, 1.432, 2.891) | |
| Decimal | 1581103 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #18202F, 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 #18202F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.29:1 | Fail | Fail | Fail |
| Sample text | 16.32:1 | Pass | Pass | Pass |
| #18202F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.32: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 #18202F looks to people with the most common types of color vision deficiency.
#1b2130Protanopia
no red cones#181f2fDeuteranopia
no green cones#102325Tritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #18202f; }
.text { color: #18202f; }
.border { border: 2px solid #18202f; }
.transparent { background-color: rgb(24 32 47 / 50%); }
.gradient { background: linear-gradient(to right, #18202f, #1c182f); }
Similar colors
#1e2433Moonless Mystery#1b2431Dark#102030The Count’s Black#0e1d32Trapped Darkness#161e34Sombre Night#21263aMidnight Express#1f2133Eclipse Elixir#222831Infinity
Closest common color name: Rich Black.
Questions
- What color is #18202F?
- #18202F is a very dark, desaturated azure, closest to the named color Moonless Mystery. It belongs to the black family of colors.
- What is the RGB value of #18202F?
- The RGB value is 24, 32, 47: 24 red, 32 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #18202F?
- The complementary color is #2F2718, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #18202F?
- White text. Black text has a contrast ratio of 1.29:1 and white text 16.32:1. WCAG asks for at least 4.5:1 for normal text.