#050F21 color
The hex color #050F21 is a very dark, moderate azure.
In the RGB color model it is made of 2% red, 5.9% green and 12.9% blue (5, 15, 33).
Its hue angle is 219°, with 74% saturation and 7% lightness. For print, the CMYK equivalent is 85% cyan, 55% magenta, 0% yellow and 87% black.
The closest named color is Void (#050D25), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.15:1).
#050F21 color codes
| HEX | #050F21 | |
|---|---|---|
| RGB | rgb(5, 15, 33) | |
| RGB percent | rgb(2%, 5.9%, 12.9%) | |
| HSL | hsl(219, 74%, 7%) | |
| HSV / HSB | hsv(219, 85%, 13%) | |
| CMYK | cmyk(85%, 55%, 0%, 87%) | |
| CIE LAB | lab(4.37, 1.97, -12.88) | |
| CIE LCH | lch(4.37, 13.03, 278.7) | |
| CIE XYZ | xyz(0.508, 0.484, 1.505) | |
| Decimal | 331553 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #050F21, 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 #050F21 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.1:1 | Fail | Fail | Fail |
| Sample text | 19.15:1 | Pass | Pass | Pass |
| #050F21 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.15:1 | Pass | Pass | Pass |
| Sample text | 1.1: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 #050F21 looks to people with the most common types of color vision deficiency.
#071122Protanopia
no red cones#040e21Deuteranopia
no green cones#001316Tritanopia
no blue cones#0f0f0fAchromatopsia
no color vision
CSS examples
.background { background-color: #050f21; }
.text { color: #050f21; }
.border { border: 2px solid #050f21; }
.transparent { background-color: rgb(5 15 33 / 50%); }
.gradient { background: linear-gradient(to right, #050f21, #090521); }
Similar colors
#050d25Void#111122Corbeau#0e1d32Trapped Darkness#0c121bMidnight Edition#161e34Sombre Night#041330Squid’s Ink#060313Obsidian Shard#102030The Count’s Black
Closest common color name: Rich Black.
Questions
- What color is #050F21?
- #050F21 is a very dark, moderate azure, closest to the named color Void. It belongs to the black family of colors.
- What is the RGB value of #050F21?
- The RGB value is 5, 15, 33: 5 red, 15 green and 33 blue on a 0 to 255 scale.
- What is the complementary color of #050F21?
- The complementary color is #211705, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #050F21?
- White text. Black text has a contrast ratio of 1.1:1 and white text 19.15:1. WCAG asks for at least 4.5:1 for normal text.