#0F2F5B color
The hex color #0F2F5B is a dark, moderate azure.
In the RGB color model it is made of 5.9% red, 18.4% green and 35.7% blue (15, 47, 91).
Its hue angle is 215°, with 72% saturation and 21% lightness. For print, the CMYK equivalent is 84% cyan, 48% magenta, 0% yellow and 64% black.
The closest named color is Marine (#042E60), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.31:1).
#0F2F5B color codes
| HEX | #0F2F5B | |
|---|---|---|
| RGB | rgb(15, 47, 91) | |
| RGB percent | rgb(5.9%, 18.4%, 35.7%) | |
| HSL | hsl(215, 72%, 21%) | |
| HSV / HSB | hsv(215, 84%, 36%) | |
| CMYK | cmyk(84%, 48%, 0%, 64%) | |
| CIE LAB | lab(19.6, 6.34, -29.73) | |
| CIE LCH | lch(19.6, 30.39, 282.04) | |
| CIE XYZ | xyz(3.101, 2.89, 10.29) | |
| Decimal | 995163 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0F2F5B, 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 #0F2F5B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.58:1 | Fail | Fail | Fail |
| Sample text | 13.31:1 | Pass | Pass | Pass |
| #0F2F5B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.31:1 | Pass | Pass | Pass |
| Sample text | 1.58: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 #0F2F5B looks to people with the most common types of color vision deficiency.
#18335dProtanopia
no red cones#082c5aDeuteranopia
no green cones#003940Tritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #0f2f5b; }
.text { color: #0f2f5b; }
.border { border: 2px solid #0f2f5b; }
.transparent { background-color: rgb(15 47 91 / 50%); }
.gradient { background: linear-gradient(to right, #0f2f5b, #150f5b); }
Similar colors
#042e60Marine#003368Neptune’s Dream#0f2d4dMidnight Ocean#1c2e63Mythical Night#13336fAtlantic Navy#03386aLost in Space#003153Prussian Blue#012253Subnautical
Questions
- What color is #0F2F5B?
- #0F2F5B is a dark, moderate azure, closest to the named color Marine. It belongs to the blue family of colors.
- What is the RGB value of #0F2F5B?
- The RGB value is 15, 47, 91: 15 red, 47 green and 91 blue on a 0 to 255 scale.
- What is the complementary color of #0F2F5B?
- The complementary color is #5B3B0F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0F2F5B?
- White text. Black text has a contrast ratio of 1.58:1 and white text 13.31:1. WCAG asks for at least 4.5:1 for normal text.