#0F202F color
The hex color #0F202F is a very dark, moderate azure.
In the RGB color model it is made of 5.9% red, 12.5% green and 18.4% blue (15, 32, 47).
Its hue angle is 208°, with 52% saturation and 12% lightness. For print, the CMYK equivalent is 68% cyan, 32% magenta, 0% yellow and 82% black.
The closest named color is The Count’s Black (#102030), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.56:1).
#0F202F color codes
| HEX | #0F202F | |
|---|---|---|
| RGB | rgb(15, 32, 47) | |
| RGB percent | rgb(5.9%, 12.5%, 18.4%) | |
| HSL | hsl(208, 52%, 12%) | |
| HSV / HSB | hsv(208, 68%, 18%) | |
| CMYK | cmyk(68%, 32%, 0%, 82%) | |
| CIE LAB | lab(11.55, -1.48, -12.11) | |
| CIE LCH | lch(11.55, 12.2, 263.04) | |
| CIE XYZ | xyz(1.226, 1.34, 2.883) | |
| Decimal | 991279 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0F202F, 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 #0F202F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.27:1 | Fail | Fail | Fail |
| Sample text | 16.56:1 | Pass | Pass | Pass |
| #0F202F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.56:1 | Pass | Pass | Pass |
| Sample text | 1.27: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 #0F202F looks to people with the most common types of color vision deficiency.
#1a2030Protanopia
no red cones#151d2fDeuteranopia
no green cones#002425Tritanopia
no blue cones#1f1f1fAchromatopsia
no color vision
CSS examples
.background { background-color: #0f202f; }
.text { color: #0f202f; }
.border { border: 2px solid #0f202f; }
.transparent { background-color: rgb(15 32 47 / 50%); }
.gradient { background: linear-gradient(to right, #0f202f, #0f102f); }
Similar colors
#102030The Count’s Black#001b2eOxford by Night#1b2431Dark#002233Midnight Dreams#0e1d32Trapped Darkness#1e2433Moonless Mystery#172b36Oceanic Noir#222831Infinity
Closest common color name: Rich Black.
Questions
- What color is #0F202F?
- #0F202F is a very dark, moderate azure, closest to the named color The Count’s Black. It belongs to the black family of colors.
- What is the RGB value of #0F202F?
- The RGB value is 15, 32, 47: 15 red, 32 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #0F202F?
- The complementary color is #2F1E0F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0F202F?
- White text. Black text has a contrast ratio of 1.27:1 and white text 16.56:1. WCAG asks for at least 4.5:1 for normal text.