#05121D color
The hex color #05121D is a very dark, moderate azure.
In the RGB color model it is made of 2% red, 7.1% green and 11.4% blue (5, 18, 29).
Its hue angle is 208°, with 71% saturation and 7% lightness. For print, the CMYK equivalent is 83% cyan, 38% magenta, 0% yellow and 89% black.
The closest named color is Midnight Edition (#0C121B), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.91:1).
#05121D color codes
| HEX | #05121D | |
|---|---|---|
| RGB | rgb(5, 18, 29) | |
| RGB percent | rgb(2%, 7.1%, 11.4%) | |
| HSL | hsl(208, 71%, 7%) | |
| HSV / HSB | hsv(208, 83%, 11%) | |
| CMYK | cmyk(83%, 38%, 0%, 89%) | |
| CIE LAB | lab(5, -1.05, -8.82) | |
| CIE LCH | lch(5, 8.88, 263.24) | |
| CIE XYZ | xyz(0.501, 0.554, 1.243) | |
| Decimal | 332317 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #05121D, 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 #05121D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.11:1 | Fail | Fail | Fail |
| Sample text | 18.91:1 | Pass | Pass | Pass |
| #05121D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.91:1 | Pass | Pass | Pass |
| Sample text | 1.11: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 #05121D looks to people with the most common types of color vision deficiency.
#0d121dProtanopia
no red cones#0a101dDeuteranopia
no green cones#001516Tritanopia
no blue cones#111111Achromatopsia
no color vision
CSS examples
.background { background-color: #05121d; }
.text { color: #05121d; }
.border { border: 2px solid #05121d; }
.transparent { background-color: rgb(5 18 29 / 50%); }
.gradient { background: linear-gradient(to right, #05121d, #05061d); }
Similar colors
#0c121bMidnight Edition#010b13Rich Black#010b13Black Knight#060b14Dark Rift#102030The Count’s Black#0b0c14Midnight Oil#001b2eOxford by Night#080813Narwhal Gray
Questions
- What color is #05121D?
- #05121D 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 #05121D?
- The RGB value is 5, 18, 29: 5 red, 18 green and 29 blue on a 0 to 255 scale.
- What is the complementary color of #05121D?
- The complementary color is #1D1005, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #05121D?
- White text. Black text has a contrast ratio of 1.11:1 and white text 18.91:1. WCAG asks for at least 4.5:1 for normal text.