#0F153B color
The hex color #0F153B is a very dark, moderate blue.
In the RGB color model it is made of 5.9% red, 8.2% green and 23.1% blue (15, 21, 59).
Its hue angle is 232°, with 59% saturation and 15% lightness. For print, the CMYK equivalent is 75% cyan, 64% magenta, 0% yellow and 77% black.
The closest named color is Infinite Night (#071037), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.64:1).
#0F153B color codes
| HEX | #0F153B | |
|---|---|---|
| RGB | rgb(15, 21, 59) | |
| RGB percent | rgb(5.9%, 8.2%, 23.1%) | |
| HSL | hsl(232, 59%, 15%) | |
| HSV / HSB | hsv(232, 75%, 23%) | |
| CMYK | cmyk(75%, 64%, 0%, 77%) | |
| CIE LAB | lab(8.6, 12.13, -25.46) | |
| CIE LCH | lch(8.6, 28.2, 295.48) | |
| CIE XYZ | xyz(1.254, 0.954, 4.255) | |
| Decimal | 988475 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0F153B, 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 #0F153B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.19:1 | Fail | Fail | Fail |
| Sample text | 17.64:1 | Pass | Pass | Pass |
| #0F153B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.64:1 | Pass | Pass | Pass |
| Sample text | 1.19: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 #0F153B looks to people with the most common types of color vision deficiency.
#001b3cProtanopia
no red cones#00173aDeuteranopia
no green cones#001e25Tritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #0f153b; }
.text { color: #0f153b; }
.border { border: 2px solid #0f153b; }
.transparent { background-color: rgb(15 21 59 / 50%); }
.gradient { background: linear-gradient(to right, #0f153b, #1f0f3b); }
Similar colors
#071037Infinite Night#161d3bNightwalker#111144Deadly Depths#1c1e4dFly-by-Night#211d49Azulado#03012dMidnight#000435Oblivion#00022eIllicit Darkness
Closest common color name: Oxford Blue.
Questions
- What color is #0F153B?
- #0F153B 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 #0F153B?
- The RGB value is 15, 21, 59: 15 red, 21 green and 59 blue on a 0 to 255 scale.
- What is the complementary color of #0F153B?
- The complementary color is #3B350F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0F153B?
- White text. Black text has a contrast ratio of 1.19:1 and white text 17.64:1. WCAG asks for at least 4.5:1 for normal text.