#0F1B35 color
The hex color #0F1B35 is a very dark, moderate blue.
In the RGB color model it is made of 5.9% red, 10.6% green and 20.8% blue (15, 27, 53).
Its hue angle is 221°, with 56% saturation and 13% lightness. For print, the CMYK equivalent is 72% cyan, 49% magenta, 0% yellow and 79% black.
The closest named color is Sombre Night (#161E34), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.09:1).
#0F1B35 color codes
| HEX | #0F1B35 | |
|---|---|---|
| RGB | rgb(15, 27, 53) | |
| RGB percent | rgb(5.9%, 10.6%, 20.8%) | |
| HSL | hsl(221, 56%, 13%) | |
| HSV / HSB | hsv(221, 72%, 21%) | |
| CMYK | cmyk(72%, 49%, 0%, 79%) | |
| CIE LAB | lab(10.13, 4.82, -18.69) | |
| CIE LCH | lch(10.13, 19.3, 284.47) | |
| CIE XYZ | xyz(1.231, 1.142, 3.523) | |
| Decimal | 990005 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0F1B35, 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 #0F1B35 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.09:1 | Pass | Pass | Pass |
| #0F1B35 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.09: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 #0F1B35 looks to people with the most common types of color vision deficiency.
#0f1e36Protanopia
no red cones#0a1a34Deuteranopia
no green cones#002125Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #0f1b35; }
.text { color: #0f1b35; }
.border { border: 2px solid #0f1b35; }
.transparent { background-color: rgb(15 27 53 / 50%); }
.gradient { background: linear-gradient(to right, #0f1b35, #160f35); }
Similar colors
#161e34Sombre Night#161d3bNightwalker#041330Squid’s Ink#151931Dark Knight#0e1d32Trapped Darkness#011c39Naval Night#112244Dark Eclipse#050d25Void
Closest common color name: Oxford Blue.
Questions
- What color is #0F1B35?
- #0F1B35 is a very dark, moderate blue, closest to the named color Sombre Night. It belongs to the black family of colors.
- What is the RGB value of #0F1B35?
- The RGB value is 15, 27, 53: 15 red, 27 green and 53 blue on a 0 to 255 scale.
- What is the complementary color of #0F1B35?
- The complementary color is #35290F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0F1B35?
- White text. Black text has a contrast ratio of 1.23:1 and white text 17.09:1. WCAG asks for at least 4.5:1 for normal text.