#182231 color
The hex color #182231 is a very dark, desaturated azure.
In the RGB color model it is made of 9.4% red, 13.3% green and 19.2% blue (24, 34, 49).
Its hue angle is 216°, with 34% saturation and 14% lightness. For print, the CMYK equivalent is 51% cyan, 31% magenta, 0% yellow and 81% 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.01:1).
#182231 color codes
| HEX | #182231 | |
|---|---|---|
| RGB | rgb(24, 34, 49) | |
| RGB percent | rgb(9.4%, 13.3%, 19.2%) | |
| HSL | hsl(216, 34%, 14%) | |
| HSV / HSB | hsv(216, 51%, 19%) | |
| CMYK | cmyk(51%, 31%, 0%, 81%) | |
| CIE LAB | lab(12.98, 0.57, -11.28) | |
| CIE LCH | lch(12.98, 11.29, 272.88) | |
| CIE XYZ | xyz(1.503, 1.56, 3.127) | |
| Decimal | 1581617 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #182231, 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 #182231 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.31:1 | Fail | Fail | Fail |
| Sample text | 16.01:1 | Pass | Pass | Pass |
| #182231 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.01:1 | Pass | Pass | Pass |
| Sample text | 1.31: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 #182231 looks to people with the most common types of color vision deficiency.
#1c2332Protanopia
no red cones#1a2031Deuteranopia
no green cones#0f2527Tritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #182231; }
.text { color: #182231; }
.border { border: 2px solid #182231; }
.transparent { background-color: rgb(24 34 49 / 50%); }
.gradient { background: linear-gradient(to right, #182231, #1a1831); }
Similar colors
#1b2431Dark#1e2433Moonless Mystery#102030The Count’s Black#0e1d32Trapped Darkness#222831Infinity#21263aMidnight Express#161e34Sombre Night#001b2eOxford by Night
Closest common color name: Rich Black.
Questions
- What color is #182231?
- #182231 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 #182231?
- The RGB value is 24, 34, 49: 24 red, 34 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #182231?
- The complementary color is #312718, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #182231?
- White text. Black text has a contrast ratio of 1.31:1 and white text 16.01:1. WCAG asks for at least 4.5:1 for normal text.