#0F0B31 color
The hex color #0F0B31 is a very dark, moderate blue.
In the RGB color model it is made of 5.9% red, 4.3% green and 19.2% blue (15, 11, 49).
Its hue angle is 246°, with 63% saturation and 12% lightness. For print, the CMYK equivalent is 69% cyan, 78% magenta, 0% yellow and 81% black.
The closest named color is Infinite Night (#071037), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.88:1).
#0F0B31 color codes
| HEX | #0F0B31 | |
|---|---|---|
| RGB | rgb(15, 11, 49) | |
| RGB percent | rgb(5.9%, 4.3%, 19.2%) | |
| HSL | hsl(246, 63%, 12%) | |
| HSV / HSB | hsv(246, 78%, 19%) | |
| CMYK | cmyk(69%, 78%, 0%, 81%) | |
| CIE LAB | lab(5.08, 13.76, -23.84) | |
| CIE LCH | lch(5.08, 27.53, 299.98) | |
| CIE XYZ | xyz(0.871, 0.563, 2.968) | |
| Decimal | 985905 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0F0B31, 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 #0F0B31 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.11:1 | Fail | Fail | Fail |
| Sample text | 18.88:1 | Pass | Pass | Pass |
| #0F0B31 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.88:1 | Pass | Pass | Pass |
| Sample text | 1.11: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 #0F0B31 looks to people with the most common types of color vision deficiency.
#001232Protanopia
no red cones#001030Deuteranopia
no green cones#01151cTritanopia
no blue cones#111111Achromatopsia
no color vision
CSS examples
.background { background-color: #0f0b31; }
.text { color: #0f0b31; }
.border { border: 2px solid #0f0b31; }
.transparent { background-color: rgb(15 11 49 / 50%); }
.gradient { background: linear-gradient(to right, #0f0b31, #220b31); }
Similar colors
#071037Infinite Night#03012dMidnight#00022eIllicit Darkness#1c0f33Midnight Monarch#000435Oblivion#060929Mysterious Depths#160435Quiet Abyss#111144Deadly Depths
Closest common color name: Oxford Blue.
Questions
- What color is #0F0B31?
- #0F0B31 is a very dark, moderate blue, closest to the named color Infinite Night. It belongs to the black family of colors.
- What is the RGB value of #0F0B31?
- The RGB value is 15, 11, 49: 15 red, 11 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #0F0B31?
- The complementary color is #2D310B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0F0B31?
- White text. Black text has a contrast ratio of 1.11:1 and white text 18.88:1. WCAG asks for at least 4.5:1 for normal text.