#0F1421 color
The hex color #0F1421 is a very dark, desaturated blue.
In the RGB color model it is made of 5.9% red, 7.8% green and 12.9% blue (15, 20, 33).
Its hue angle is 223°, with 38% saturation and 9% lightness. For print, the CMYK equivalent is 55% cyan, 39% magenta, 0% yellow and 87% black.
The closest named color is Midnight Edition (#0C121B), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.38:1).
#0F1421 color codes
| HEX | #0F1421 | |
|---|---|---|
| RGB | rgb(15, 20, 33) | |
| RGB percent | rgb(5.9%, 7.8%, 12.9%) | |
| HSL | hsl(223, 38%, 9%) | |
| HSV / HSB | hsv(223, 55%, 13%) | |
| CMYK | cmyk(55%, 39%, 0%, 87%) | |
| CIE LAB | lab(6.43, 1.85, -9.68) | |
| CIE LCH | lch(6.43, 9.85, 280.83) | |
| CIE XYZ | xyz(0.722, 0.712, 1.538) | |
| Decimal | 988193 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0F1421, 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 #0F1421 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.14:1 | Fail | Fail | Fail |
| Sample text | 18.38:1 | Pass | Pass | Pass |
| #0F1421 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.38:1 | Pass | Pass | Pass |
| Sample text | 1.14: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 #0F1421 looks to people with the most common types of color vision deficiency.
#0f1522Protanopia
no red cones#0e1421Deuteranopia
no green cones#091719Tritanopia
no blue cones#141414Achromatopsia
no color vision
CSS examples
.background { background-color: #0f1421; }
.text { color: #0f1421; }
.border { border: 2px solid #0f1421; }
.transparent { background-color: rgb(15 20 33 / 50%); }
.gradient { background: linear-gradient(to right, #0f1421, #130f21); }
Similar colors
#0c121bMidnight Edition#111122Corbeau#16161dEigengrau#16141cBack in Black#080813Narwhal Gray#060b14Dark Rift#060313Obsidian Shard#0b0c14Midnight Oil
Closest common color name: Rich Black.
Questions
- What color is #0F1421?
- #0F1421 is a very dark, desaturated blue, closest to the named color Midnight Edition. It belongs to the black family of colors.
- What is the RGB value of #0F1421?
- The RGB value is 15, 20, 33: 15 red, 20 green and 33 blue on a 0 to 255 scale.
- What is the complementary color of #0F1421?
- The complementary color is #211C0F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0F1421?
- White text. Black text has a contrast ratio of 1.14:1 and white text 18.38:1. WCAG asks for at least 4.5:1 for normal text.