#0A1021 color
The hex color #0A1021 is a very dark, moderate blue.
In the RGB color model it is made of 3.9% red, 6.3% green and 12.9% blue (10, 16, 33).
Its hue angle is 224°, with 53% saturation and 8% lightness. For print, the CMYK equivalent is 70% cyan, 52% magenta, 0% yellow and 87% black.
The closest named color is Corbeau (#111122), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.94:1).
#0A1021 color codes
| HEX | #0A1021 | |
|---|---|---|
| RGB | rgb(10, 16, 33) | |
| RGB percent | rgb(3.9%, 6.3%, 12.9%) | |
| HSL | hsl(224, 53%, 8%) | |
| HSV / HSB | hsv(224, 70%, 13%) | |
| CMYK | cmyk(70%, 52%, 0%, 87%) | |
| CIE LAB | lab(4.92, 2.74, -12.01) | |
| CIE LCH | lch(4.92, 12.32, 282.87) | |
| CIE XYZ | xyz(0.585, 0.545, 1.513) | |
| Decimal | 659489 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0A1021, 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 #0A1021 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.11:1 | Fail | Fail | Fail |
| Sample text | 18.94:1 | Pass | Pass | Pass |
| #0A1021 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.94: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 #0A1021 looks to people with the most common types of color vision deficiency.
#091222Protanopia
no red cones#071021Deuteranopia
no green cones#021416Tritanopia
no blue cones#111111Achromatopsia
no color vision
CSS examples
.background { background-color: #0a1021; }
.text { color: #0a1021; }
.border { border: 2px solid #0a1021; }
.transparent { background-color: rgb(10 16 33 / 50%); }
.gradient { background: linear-gradient(to right, #0a1021, #0f0a21); }
Similar colors
#111122Corbeau#050d25Void#0e1d32Trapped Darkness#060313Obsidian Shard#0c121bMidnight Edition#161e34Sombre Night#151931Dark Knight#080813Narwhal Gray
Closest common color name: Rich Black.
Questions
- What color is #0A1021?
- #0A1021 is a very dark, moderate blue, closest to the named color Corbeau. It belongs to the black family of colors.
- What is the RGB value of #0A1021?
- The RGB value is 10, 16, 33: 10 red, 16 green and 33 blue on a 0 to 255 scale.
- What is the complementary color of #0A1021?
- The complementary color is #211B0A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0A1021?
- White text. Black text has a contrast ratio of 1.11:1 and white text 18.94:1. WCAG asks for at least 4.5:1 for normal text.