#15212F color
The hex color #15212F is a very dark, desaturated azure.
In the RGB color model it is made of 8.2% red, 12.9% green and 18.4% blue (21, 33, 47).
Its hue angle is 212°, with 38% saturation and 13% lightness. For print, the CMYK equivalent is 55% cyan, 30% magenta, 0% yellow and 82% black.
The closest named color is The Count’s Black (#102030), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.27:1).
#15212F color codes
| HEX | #15212F | |
|---|---|---|
| RGB | rgb(21, 33, 47) | |
| RGB percent | rgb(8.2%, 12.9%, 18.4%) | |
| HSL | hsl(212, 38%, 13%) | |
| HSV / HSB | hsv(212, 55%, 18%) | |
| CMYK | cmyk(55%, 30%, 0%, 82%) | |
| CIE LAB | lab(12.3, -0.42, -10.91) | |
| CIE LCH | lch(12.3, 10.92, 267.78) | |
| CIE XYZ | xyz(1.366, 1.452, 2.897) | |
| Decimal | 1384751 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #15212F, 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 #15212F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.29:1 | Fail | Fail | Fail |
| Sample text | 16.27:1 | Pass | Pass | Pass |
| #15212F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.27: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 #15212F looks to people with the most common types of color vision deficiency.
#1c2230Protanopia
no red cones#181f2fDeuteranopia
no green cones#0a2426Tritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #15212f; }
.text { color: #15212f; }
.border { border: 2px solid #15212f; }
.transparent { background-color: rgb(21 33 47 / 50%); }
.gradient { background: linear-gradient(to right, #15212f, #16152f); }
Similar colors
#102030The Count’s Black#1b2431Dark#1e2433Moonless Mystery#222831Infinity#0e1d32Trapped Darkness#001b2eOxford by Night#002233Midnight Dreams#0c121bMidnight Edition
Closest common color name: Rich Black.
Questions
- What color is #15212F?
- #15212F is a very dark, desaturated azure, closest to the named color The Count’s Black. It belongs to the black family of colors.
- What is the RGB value of #15212F?
- The RGB value is 21, 33, 47: 21 red, 33 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #15212F?
- The complementary color is #2F2315, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #15212F?
- White text. Black text has a contrast ratio of 1.29:1 and white text 16.27:1. WCAG asks for at least 4.5:1 for normal text.