#18272C color
The hex color #18272C is a very dark, desaturated azure.
In the RGB color model it is made of 9.4% red, 15.3% green and 17.3% blue (24, 39, 44).
Its hue angle is 195°, with 29% saturation and 13% lightness. For print, the CMYK equivalent is 45% cyan, 11% magenta, 0% yellow and 83% black.
The closest named color is Sunken Ship (#10252A), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.38:1).
#18272C color codes
| HEX | #18272C | |
|---|---|---|
| RGB | rgb(24, 39, 44) | |
| RGB percent | rgb(9.4%, 15.3%, 17.3%) | |
| HSL | hsl(195, 29%, 13%) | |
| HSV / HSB | hsv(195, 45%, 17%) | |
| CMYK | cmyk(45%, 11%, 0%, 83%) | |
| CIE LAB | lab(14.55, -4.71, -5.31) | |
| CIE LCH | lch(14.55, 7.1, 228.39) | |
| CIE XYZ | xyz(1.557, 1.827, 2.653) | |
| Decimal | 1582892 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #18272C, 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 #18272C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.37:1 | Fail | Fail | Fail |
| Sample text | 15.38:1 | Pass | Pass | Pass |
| #18272C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.38:1 | Pass | Pass | Pass |
| Sample text | 1.37: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 #18272C looks to people with the most common types of color vision deficiency.
#24262cProtanopia
no red cones#21242cDeuteranopia
no green cones#112929Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #18272c; }
.text { color: #18272c; }
.border { border: 2px solid #18272c; }
.transparent { background-color: rgb(24 39 44 / 50%); }
.gradient { background: linear-gradient(to right, #18272c, #181d2c); }
Similar colors
#10252aSunken Ship#1e272cBlack Pearl#0f282fBlack Box#172b36Oceanic Noir#242a2eCinder#0e191cBlack Stallion#293135Nightmare Fuel#2a3439Gunmetal
Questions
- What color is #18272C?
- #18272C is a very dark, desaturated azure, closest to the named color Sunken Ship. It belongs to the black family of colors.
- What is the RGB value of #18272C?
- The RGB value is 24, 39, 44: 24 red, 39 green and 44 blue on a 0 to 255 scale.
- What is the complementary color of #18272C?
- The complementary color is #2C1D18, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #18272C?
- White text. Black text has a contrast ratio of 1.37:1 and white text 15.38:1. WCAG asks for at least 4.5:1 for normal text.