#051421 color
The hex color #051421 is a very dark, moderate azure.
In the RGB color model it is made of 2% red, 7.8% green and 12.9% blue (5, 20, 33).
Its hue angle is 208°, with 74% saturation and 7% lightness. For print, the CMYK equivalent is 85% cyan, 39% magenta, 0% yellow and 87% black.
The closest named color is Midnight Edition (#0C121B), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.61:1).
#051421 color codes
| HEX | #051421 | |
|---|---|---|
| RGB | rgb(5, 20, 33) | |
| RGB percent | rgb(2%, 7.8%, 12.9%) | |
| HSL | hsl(208, 74%, 7%) | |
| HSV / HSB | hsv(208, 85%, 13%) | |
| CMYK | cmyk(85%, 39%, 0%, 87%) | |
| CIE LAB | lab(5.8, -0.96, -10.69) | |
| CIE LCH | lch(5.8, 10.73, 264.89) | |
| CIE XYZ | xyz(0.587, 0.642, 1.532) | |
| Decimal | 332833 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #051421, 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 #051421 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.13:1 | Fail | Fail | Fail |
| Sample text | 18.61:1 | Pass | Pass | Pass |
| #051421 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.61:1 | Pass | Pass | Pass |
| Sample text | 1.13: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 #051421 looks to people with the most common types of color vision deficiency.
#0e1422Protanopia
no red cones#0a1221Deuteranopia
no green cones#001719Tritanopia
no blue cones#131313Achromatopsia
no color vision
CSS examples
.background { background-color: #051421; }
.text { color: #051421; }
.border { border: 2px solid #051421; }
.transparent { background-color: rgb(5 20 33 / 50%); }
.gradient { background: linear-gradient(to right, #051421, #050621); }
Similar colors
#0c121bMidnight Edition#001b2eOxford by Night#102030The Count’s Black#010b13Rich Black#010b13Black Knight#060b14Dark Rift#0e1d32Trapped Darkness#1b2431Dark
Questions
- What color is #051421?
- #051421 is a very dark, moderate azure, closest to the named color Midnight Edition. It belongs to the black family of colors.
- What is the RGB value of #051421?
- The RGB value is 5, 20, 33: 5 red, 20 green and 33 blue on a 0 to 255 scale.
- What is the complementary color of #051421?
- The complementary color is #211205, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #051421?
- White text. Black text has a contrast ratio of 1.13:1 and white text 18.61:1. WCAG asks for at least 4.5:1 for normal text.