#001F3E color
The hex color #001F3E is a very dark, vivid azure.
In the RGB color model it is made of 0% red, 12.2% green and 24.3% blue (0, 31, 62).
Its hue angle is 210°, with 100% saturation and 12% lightness. For print, the CMYK equivalent is 100% cyan, 50% magenta, 0% yellow and 76% black.
The closest named color is Midnight Mirage (#001F3F), a difference of 0.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.59:1).
#001F3E color codes
| HEX | #001F3E | |
|---|---|---|
| RGB | rgb(0, 31, 62) | |
| RGB percent | rgb(0%, 12.2%, 24.3%) | |
| HSL | hsl(210, 100%, 12%) | |
| HSV / HSB | hsv(210, 100%, 24%) | |
| CMYK | cmyk(100%, 50%, 0%, 76%) | |
| CIE LAB | lab(11.47, 2.97, -23) | |
| CIE LCH | lch(11.47, 23.2, 277.35) | |
| CIE XYZ | xyz(1.359, 1.328, 4.741) | |
| Decimal | 7998 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #001F3E, 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 #001F3E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.27:1 | Fail | Fail | Fail |
| Sample text | 16.59:1 | Pass | Pass | Pass |
| #001F3E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.59:1 | Pass | Pass | Pass |
| Sample text | 1.27: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 #001F3E looks to people with the most common types of color vision deficiency.
#0e213fProtanopia
no red cones#031c3dDeuteranopia
no green cones#00272bTritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #001f3e; }
.text { color: #001f3e; }
.border { border: 2px solid #001f3e; }
.transparent { background-color: rgb(0 31 62 / 50%); }
.gradient { background: linear-gradient(to right, #001f3e, #00003e); }
Similar colors
#001f3fMidnight Mirage#011c39Naval Night#002147Oxford Blue#112244Dark Eclipse#0e1d32Trapped Darkness#012253Subnautical#0f2d4dMidnight Ocean#1c2841Eternal Darkness
Questions
- What color is #001F3E?
- #001F3E is a very dark, vivid azure, closest to the named color Midnight Mirage. It belongs to the black family of colors.
- What is the RGB value of #001F3E?
- The RGB value is 0, 31, 62: 0 red, 31 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #001F3E?
- The complementary color is #3E1F00, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #001F3E?
- White text. Black text has a contrast ratio of 1.27:1 and white text 16.59:1. WCAG asks for at least 4.5:1 for normal text.