#0F1979 color
The hex color #0F1979 is a dark, moderate blue.
In the RGB color model it is made of 5.9% red, 9.8% green and 47.5% blue (15, 25, 121).
Its hue angle is 234°, with 78% saturation and 27% lightness. For print, the CMYK equivalent is 88% cyan, 79% magenta, 0% yellow and 53% black.
The closest named color is Midnight Blue (#191970), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.63:1).
#0F1979 color codes
| HEX | #0F1979 | |
|---|---|---|
| RGB | rgb(15, 25, 121) | |
| RGB percent | rgb(5.9%, 9.8%, 47.5%) | |
| HSL | hsl(234, 78%, 27%) | |
| HSV / HSB | hsv(234, 88%, 47%) | |
| CMYK | cmyk(88%, 79%, 0%, 53%) | |
| CIE LAB | lab(16.39, 34.23, -54.52) | |
| CIE LCH | lch(16.39, 64.38, 302.12) | |
| CIE XYZ | xyz(3.995, 2.177, 18.295) | |
| Decimal | 989561 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0F1979, 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 #0F1979 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.44:1 | Fail | Fail | Fail |
| Sample text | 14.63:1 | Pass | Pass | Pass |
| #0F1979 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.63:1 | Pass | Pass | Pass |
| Sample text | 1.44: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 #0F1979 looks to people with the most common types of color vision deficiency.
#002e7cProtanopia
no red cones#002377Deuteranopia
no green cones#003648Tritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #0f1979; }
.text { color: #0f1979; }
.border { border: 2px solid #0f1979; }
.transparent { background-color: rgb(15 25 121 / 50%); }
.gradient { background: linear-gradient(to right, #0f1979, #3a0f79); }
Similar colors
#191970Midnight Blue#19197020000 Leagues Under the Sea#111188Galactic Cruise#002277Long-Haul Flight#111166Dying Storm Blue#221188Nightly Expedition#002489Lost in Heaven#112473Midnight Crest
Questions
- What color is #0F1979?
- #0F1979 is a dark, moderate blue, closest to the named color Midnight Blue. It belongs to the blue family of colors.
- What is the RGB value of #0F1979?
- The RGB value is 15, 25, 121: 15 red, 25 green and 121 blue on a 0 to 255 scale.
- What is the complementary color of #0F1979?
- The complementary color is #796F0F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0F1979?
- White text. Black text has a contrast ratio of 1.44:1 and white text 14.63:1. WCAG asks for at least 4.5:1 for normal text.