#05121C color
The hex color #05121C is a very dark, moderate azure.
In the RGB color model it is made of 2% red, 7.1% green and 11% blue (5, 18, 28).
Its hue angle is 206°, with 70% saturation and 6% lightness. For print, the CMYK equivalent is 82% cyan, 36% 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.92:1).
#05121C color codes
| HEX | #05121C | |
|---|---|---|
| RGB | rgb(5, 18, 28) | |
| RGB percent | rgb(2%, 7.1%, 11%) | |
| HSL | hsl(206, 70%, 6%) | |
| HSV / HSB | hsv(206, 82%, 11%) | |
| CMYK | cmyk(82%, 36%, 0%, 89%) | |
| CIE LAB | lab(4.96, -1.36, -8.11) | |
| CIE LCH | lch(4.96, 8.22, 260.51) | |
| CIE XYZ | xyz(0.488, 0.549, 1.179) | |
| Decimal | 332316 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #05121C, 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 #05121C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.11:1 | Fail | Fail | Fail |
| Sample text | 18.92:1 | Pass | Pass | Pass |
| #05121C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.92: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 #05121C looks to people with the most common types of color vision deficiency.
#0e121cProtanopia
no red cones#0a101cDeuteranopia
no green cones#001415Tritanopia
no blue cones#111111Achromatopsia
no color vision
CSS examples
.background { background-color: #05121c; }
.text { color: #05121c; }
.border { border: 2px solid #05121c; }
.transparent { background-color: rgb(5 18 28 / 50%); }
.gradient { background: linear-gradient(to right, #05121c, #05071c); }
Similar colors
#0c121bMidnight Edition#010b13Rich Black#010b13Black Knight#060b14Dark Rift#0b0c14Midnight Oil#0e191cBlack Stallion#102030The Count’s Black#080813Narwhal Gray
Questions
- What color is #05121C?
- #05121C 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 #05121C?
- The RGB value is 5, 18, 28: 5 red, 18 green and 28 blue on a 0 to 255 scale.
- What is the complementary color of #05121C?
- The complementary color is #1C0F05, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #05121C?
- White text. Black text has a contrast ratio of 1.11:1 and white text 18.92:1. WCAG asks for at least 4.5:1 for normal text.