#001F86 color
The hex color #001F86 is a dark, vivid blue.
In the RGB color model it is made of 0% red, 12.2% green and 52.5% blue (0, 31, 134).
Its hue angle is 226°, with 100% saturation and 26% lightness. For print, the CMYK equivalent is 100% cyan, 77% magenta, 0% yellow and 47% black.
The closest named color is Lost in Heaven (#002489), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.63:1).
#001F86 color codes
| HEX | #001F86 | |
|---|---|---|
| RGB | rgb(0, 31, 134) | |
| RGB percent | rgb(0%, 12.2%, 52.5%) | |
| HSL | hsl(226, 100%, 26%) | |
| HSV / HSB | hsv(226, 100%, 53%) | |
| CMYK | cmyk(100%, 77%, 0%, 47%) | |
| CIE LAB | lab(18.8, 34.7, -58.79) | |
| CIE LCH | lch(18.8, 68.27, 300.55) | |
| CIE XYZ | xyz(4.792, 2.701, 22.818) | |
| Decimal | 8070 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #001F86, 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 #001F86 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.54:1 | Fail | Fail | Fail |
| Sample text | 13.63:1 | Pass | Pass | Pass |
| #001F86 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.63:1 | Pass | Pass | Pass |
| Sample text | 1.54: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 #001F86 looks to people with the most common types of color vision deficiency.
#003489Protanopia
no red cones#002784Deuteranopia
no green cones#003e51Tritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #001f86; }
.text { color: #001f86; }
.border { border: 2px solid #001f86; }
.transparent { background-color: rgb(0 31 134 / 50%); }
.gradient { background: linear-gradient(to right, #001f86, #240086); }
Similar colors
#002489Lost in Heaven#072688Naval Adventures#002299Space Dust#002277Long-Haul Flight#082599Deepsea Kraken#0c1793Royal#111188Galactic Cruise#112473Midnight Crest
Closest common color name: Midnight Blue.
Questions
- What color is #001F86?
- #001F86 is a dark, vivid blue, closest to the named color Lost in Heaven. It belongs to the blue family of colors.
- What is the RGB value of #001F86?
- The RGB value is 0, 31, 134: 0 red, 31 green and 134 blue on a 0 to 255 scale.
- What is the complementary color of #001F86?
- The complementary color is #866700, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #001F86?
- White text. Black text has a contrast ratio of 1.54:1 and white text 13.63:1. WCAG asks for at least 4.5:1 for normal text.