#0F131C color
The hex color #0F131C is a very dark, desaturated blue.
In the RGB color model it is made of 5.9% red, 7.5% green and 11% blue (15, 19, 28).
Its hue angle is 222°, with 30% saturation and 8% lightness. For print, the CMYK equivalent is 46% cyan, 32% magenta, 0% yellow and 89% black.
The closest named color is Midnight Edition (#0C121B), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.58:1).
#0F131C color codes
| HEX | #0F131C | |
|---|---|---|
| RGB | rgb(15, 19, 28) | |
| RGB percent | rgb(5.9%, 7.5%, 11%) | |
| HSL | hsl(222, 30%, 8%) | |
| HSV / HSB | hsv(222, 46%, 11%) | |
| CMYK | cmyk(46%, 32%, 0%, 89%) | |
| CIE LAB | lab(5.88, 0.84, -6.66) | |
| CIE LCH | lch(5.88, 6.71, 277.2) | |
| CIE XYZ | xyz(0.639, 0.651, 1.19) | |
| Decimal | 987932 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0F131C, 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 #0F131C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.13:1 | Fail | Fail | Fail |
| Sample text | 18.58:1 | Pass | Pass | Pass |
| #0F131C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.58:1 | Pass | Pass | Pass |
| Sample text | 1.13: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 #0F131C looks to people with the most common types of color vision deficiency.
#10141cProtanopia
no red cones#0f121cDeuteranopia
no green cones#0b1516Tritanopia
no blue cones#131313Achromatopsia
no color vision
CSS examples
.background { background-color: #0f131c; }
.text { color: #0f131c; }
.border { border: 2px solid #0f131c; }
.transparent { background-color: rgb(15 19 28 / 50%); }
.gradient { background: linear-gradient(to right, #0f131c, #120f1c); }
Similar colors
#0c121bMidnight Edition#060b14Dark Rift#16161dEigengrau#0b0c14Midnight Oil#080813Narwhal Gray#16141cBack in Black#010b13Rich Black#010b13Black Knight
Questions
- What color is #0F131C?
- #0F131C 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 #0F131C?
- The RGB value is 15, 19, 28: 15 red, 19 green and 28 blue on a 0 to 255 scale.
- What is the complementary color of #0F131C?
- The complementary color is #1C180F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0F131C?
- White text. Black text has a contrast ratio of 1.13:1 and white text 18.58:1. WCAG asks for at least 4.5:1 for normal text.