#182334 color
The hex color #182334 is a very dark, desaturated azure.
In the RGB color model it is made of 9.4% red, 13.7% green and 20.4% blue (24, 35, 52).
Its hue angle is 216°, with 37% saturation and 15% lightness. For print, the CMYK equivalent is 54% cyan, 33% magenta, 0% yellow and 80% black.
The closest named color is Moonless Mystery (#1E2433), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.8:1).
#182334 color codes
| HEX | #182334 | |
|---|---|---|
| RGB | rgb(24, 35, 52) | |
| RGB percent | rgb(9.4%, 13.7%, 20.4%) | |
| HSL | hsl(216, 37%, 15%) | |
| HSV / HSB | hsv(216, 54%, 20%) | |
| CMYK | cmyk(54%, 33%, 0%, 80%) | |
| CIE LAB | lab(13.5, 0.93, -12.62) | |
| CIE LCH | lch(13.5, 12.66, 274.23) | |
| CIE XYZ | xyz(1.597, 1.644, 3.481) | |
| Decimal | 1581876 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #182334, 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 #182334 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.33:1 | Fail | Fail | Fail |
| Sample text | 15.8:1 | Pass | Pass | Pass |
| #182334 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.8:1 | Pass | Pass | Pass |
| Sample text | 1.33: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 #182334 looks to people with the most common types of color vision deficiency.
#1d2435Protanopia
no red cones#192134Deuteranopia
no green cones#0d2729Tritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #182334; }
.text { color: #182334; }
.border { border: 2px solid #182334; }
.transparent { background-color: rgb(24 35 52 / 50%); }
.gradient { background: linear-gradient(to right, #182334, #1b1834); }
Similar colors
#1e2433Moonless Mystery#1b2431Dark#102030The Count’s Black#0e1d32Trapped Darkness#21263aMidnight Express#161e34Sombre Night#1c2841Eternal Darkness#222831Infinity
Closest common color name: Oxford Blue.
Questions
- What color is #182334?
- #182334 is a very dark, desaturated azure, closest to the named color Moonless Mystery. It belongs to the gray family of colors.
- What is the RGB value of #182334?
- The RGB value is 24, 35, 52: 24 red, 35 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #182334?
- The complementary color is #342918, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #182334?
- White text. Black text has a contrast ratio of 1.33:1 and white text 15.8:1. WCAG asks for at least 4.5:1 for normal text.