#0F1027 color
The hex color #0F1027 is a very dark, desaturated blue.
In the RGB color model it is made of 5.9% red, 6.3% green and 15.3% blue (15, 16, 39).
Its hue angle is 238°, with 44% saturation and 11% lightness. For print, the CMYK equivalent is 62% cyan, 59% magenta, 0% yellow and 85% black.
The closest named color is Dark Knight (#151931), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.69:1).
#0F1027 color codes
| HEX | #0F1027 | |
|---|---|---|
| RGB | rgb(15, 16, 39) | |
| RGB percent | rgb(5.9%, 6.3%, 15.3%) | |
| HSL | hsl(238, 44%, 11%) | |
| HSV / HSB | hsv(238, 62%, 15%) | |
| CMYK | cmyk(62%, 59%, 0%, 85%) | |
| CIE LAB | lab(5.59, 6.57, -15.54) | |
| CIE LCH | lch(5.59, 16.87, 292.92) | |
| CIE XYZ | xyz(0.748, 0.619, 1.999) | |
| Decimal | 987175 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0F1027, 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 #0F1027 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.12:1 | Fail | Fail | Fail |
| Sample text | 18.69:1 | Pass | Pass | Pass |
| #0F1027 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.69:1 | Pass | Pass | Pass |
| Sample text | 1.12: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 #0F1027 looks to people with the most common types of color vision deficiency.
#071328Protanopia
no red cones#051126Deuteranopia
no green cones#061519Tritanopia
no blue cones#121212Achromatopsia
no color vision
CSS examples
.background { background-color: #0f1027; }
.text { color: #0f1027; }
.border { border: 2px solid #0f1027; }
.transparent { background-color: rgb(15 16 39 / 50%); }
.gradient { background: linear-gradient(to right, #0f1027, #1a0f27); }
Similar colors
#151931Dark Knight#111122Corbeau#050d25Void#060929Mysterious Depths#041330Squid’s Ink#161e34Sombre Night#161d3bNightwalker#1f2133Eclipse Elixir
Closest common color name: Oxford Blue.
Questions
- What color is #0F1027?
- #0F1027 is a very dark, desaturated blue, closest to the named color Dark Knight. It belongs to the black family of colors.
- What is the RGB value of #0F1027?
- The RGB value is 15, 16, 39: 15 red, 16 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #0F1027?
- The complementary color is #27260F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0F1027?
- White text. Black text has a contrast ratio of 1.12:1 and white text 18.69:1. WCAG asks for at least 4.5:1 for normal text.