#0A202F color
The hex color #0A202F is a very dark, moderate azure.
In the RGB color model it is made of 3.9% red, 12.5% green and 18.4% blue (10, 32, 47).
Its hue angle is 204°, with 65% saturation and 11% lightness. For print, the CMYK equivalent is 79% cyan, 32% magenta, 0% yellow and 82% black.
The closest named color is Midnight Dreams (#002233), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.66:1).
#0A202F color codes
| HEX | #0A202F | |
|---|---|---|
| RGB | rgb(10, 32, 47) | |
| RGB percent | rgb(3.9%, 12.5%, 18.4%) | |
| HSL | hsl(204, 65%, 11%) | |
| HSV / HSB | hsv(204, 79%, 18%) | |
| CMYK | cmyk(79%, 32%, 0%, 82%) | |
| CIE LAB | lab(11.29, -2.71, -12.53) | |
| CIE LCH | lch(11.29, 12.82, 257.8) | |
| CIE XYZ | xyz(1.155, 1.303, 2.879) | |
| Decimal | 663599 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0A202F, 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 #0A202F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.26:1 | Fail | Fail | Fail |
| Sample text | 16.66:1 | Pass | Pass | Pass |
| #0A202F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.66:1 | Pass | Pass | Pass |
| Sample text | 1.26: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 #0A202F looks to people with the most common types of color vision deficiency.
#192030Protanopia
no red cones#141c2fDeuteranopia
no green cones#002425Tritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #0a202f; }
.text { color: #0a202f; }
.border { border: 2px solid #0a202f; }
.transparent { background-color: rgb(10 32 47 / 50%); }
.gradient { background: linear-gradient(to right, #0a202f, #0a0d2f); }
Similar colors
#002233Midnight Dreams#102030The Count’s Black#001b2eOxford by Night#1b2431Dark#172b36Oceanic Noir#0e1d32Trapped Darkness#222831Infinity#1e272cBlack Pearl
Closest common color name: Rich Black.
Questions
- What color is #0A202F?
- #0A202F is a very dark, moderate azure, closest to the named color Midnight Dreams. It belongs to the black family of colors.
- What is the RGB value of #0A202F?
- The RGB value is 10, 32, 47: 10 red, 32 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #0A202F?
- The complementary color is #2F190A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0A202F?
- White text. Black text has a contrast ratio of 1.26:1 and white text 16.66:1. WCAG asks for at least 4.5:1 for normal text.