#0F1C2F color
The hex color #0F1C2F is a very dark, moderate azure.
In the RGB color model it is made of 5.9% red, 11% green and 18.4% blue (15, 28, 47).
Its hue angle is 216°, with 52% saturation and 12% lightness. For print, the CMYK equivalent is 68% cyan, 40% magenta, 0% yellow and 82% black.
The closest named color is Trapped Darkness (#0E1D32), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.11:1).
#0F1C2F color codes
| HEX | #0F1C2F | |
|---|---|---|
| RGB | rgb(15, 28, 47) | |
| RGB percent | rgb(5.9%, 11%, 18.4%) | |
| HSL | hsl(216, 52%, 12%) | |
| HSV / HSB | hsv(216, 68%, 18%) | |
| CMYK | cmyk(68%, 40%, 0%, 82%) | |
| CIE LAB | lab(10.09, 1.52, -14.4) | |
| CIE LCH | lch(10.09, 14.48, 276.01) | |
| CIE XYZ | xyz(1.125, 1.137, 2.849) | |
| Decimal | 990255 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0F1C2F, 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 #0F1C2F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.11:1 | Pass | Pass | Pass |
| #0F1C2F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.11:1 | Pass | Pass | Pass |
| Sample text | 1.23: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 #0F1C2F looks to people with the most common types of color vision deficiency.
#141d30Protanopia
no red cones#101a2fDeuteranopia
no green cones#002023Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #0f1c2f; }
.text { color: #0f1c2f; }
.border { border: 2px solid #0f1c2f; }
.transparent { background-color: rgb(15 28 47 / 50%); }
.gradient { background: linear-gradient(to right, #0f1c2f, #120f2f); }
Similar colors
#0e1d32Trapped Darkness#161e34Sombre Night#102030The Count’s Black#1e2433Moonless Mystery#011c39Naval Night#1b2431Dark#001b2eOxford by Night#1c2841Eternal Darkness
Closest common color name: Oxford Blue.
Questions
- What color is #0F1C2F?
- #0F1C2F is a very dark, moderate azure, closest to the named color Trapped Darkness. It belongs to the black family of colors.
- What is the RGB value of #0F1C2F?
- The RGB value is 15, 28, 47: 15 red, 28 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #0F1C2F?
- The complementary color is #2F220F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0F1C2F?
- White text. Black text has a contrast ratio of 1.23:1 and white text 17.11:1. WCAG asks for at least 4.5:1 for normal text.