#0F1A21 color
The hex color #0F1A21 is a very dark, desaturated azure.
In the RGB color model it is made of 5.9% red, 10.2% green and 12.9% blue (15, 26, 33).
Its hue angle is 203°, with 38% saturation and 9% lightness. For print, the CMYK equivalent is 55% cyan, 21% magenta, 0% yellow and 87% black.
The closest named color is Black Stallion (#0E191C), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.65:1).
#0F1A21 color codes
| HEX | #0F1A21 | |
|---|---|---|
| RGB | rgb(15, 26, 33) | |
| RGB percent | rgb(5.9%, 10.2%, 12.9%) | |
| HSL | hsl(203, 38%, 9%) | |
| HSV / HSB | hsv(203, 55%, 13%) | |
| CMYK | cmyk(55%, 21%, 0%, 87%) | |
| CIE LAB | lab(8.57, -2.49, -6.4) | |
| CIE LCH | lch(8.57, 6.87, 248.73) | |
| CIE XYZ | xyz(0.841, 0.95, 1.578) | |
| Decimal | 989729 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0F1A21, 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 #0F1A21 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.19:1 | Fail | Fail | Fail |
| Sample text | 17.65:1 | Pass | Pass | Pass |
| #0F1A21 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.65:1 | Pass | Pass | Pass |
| Sample text | 1.19: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 #0F1A21 looks to people with the most common types of color vision deficiency.
#171a21Protanopia
no red cones#141821Deuteranopia
no green cones#081c1cTritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #0f1a21; }
.text { color: #0f1a21; }
.border { border: 2px solid #0f1a21; }
.transparent { background-color: rgb(15 26 33 / 50%); }
.gradient { background: linear-gradient(to right, #0f1a21, #0f1121); }
Similar colors
#0e191cBlack Stallion#010b13Rich Black#010b13Black Knight#0c121bMidnight Edition#1e272cBlack Pearl#1c1e21Satin Deep Black#060b14Dark Rift#102030The Count’s Black
Questions
- What color is #0F1A21?
- #0F1A21 is a very dark, desaturated azure, closest to the named color Black Stallion. It belongs to the black family of colors.
- What is the RGB value of #0F1A21?
- The RGB value is 15, 26, 33: 15 red, 26 green and 33 blue on a 0 to 255 scale.
- What is the complementary color of #0F1A21?
- The complementary color is #21160F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0F1A21?
- White text. Black text has a contrast ratio of 1.19:1 and white text 17.65:1. WCAG asks for at least 4.5:1 for normal text.