#1F3964 color
The hex color #1F3964 is a dark, moderate azure.
In the RGB color model it is made of 12.2% red, 22.4% green and 39.2% blue (31, 57, 100).
Its hue angle is 217°, with 53% saturation and 26% lightness. For print, the CMYK equivalent is 69% cyan, 43% magenta, 0% yellow and 61% black.
The closest named color is Nightlife (#27426B), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.49:1).
#1F3964 color codes
| HEX | #1F3964 | |
|---|---|---|
| RGB | rgb(31, 57, 100) | |
| RGB percent | rgb(12.2%, 22.4%, 39.2%) | |
| HSL | hsl(217, 53%, 26%) | |
| HSV / HSB | hsv(217, 69%, 39%) | |
| CMYK | cmyk(69%, 43%, 0%, 61%) | |
| CIE LAB | lab(24.12, 5.61, -28.35) | |
| CIE LCH | lch(24.12, 28.9, 281.19) | |
| CIE XYZ | xyz(4.328, 4.137, 12.625) | |
| Decimal | 2046308 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F3964, 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 #1F3964 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.83:1 | Fail | Fail | Fail |
| Sample text | 11.49:1 | Pass | Pass | Pass |
| #1F3964 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.49:1 | Pass | Pass | Pass |
| Sample text | 1.83: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 #1F3964 looks to people with the most common types of color vision deficiency.
#263d66Protanopia
no red cones#1b3663Deuteranopia
no green cones#004349Tritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #1f3964; }
.text { color: #1f3964; }
.border { border: 2px solid #1f3964; }
.transparent { background-color: rgb(31 57 100 / 50%); }
.gradient { background: linear-gradient(to right, #1f3964, #281f64); }
Similar colors
#27426bNightlife#03386aLost in Space#2c4170Napoleonic Blue#003368Neptune’s Dream#13336fAtlantic Navy#273c5aNautilus#1b416fAegean Blue#2d4470Blue Funk
Closest common color name: Prussian Blue.
Questions
- What color is #1F3964?
- #1F3964 is a dark, moderate azure, closest to the named color Nightlife. It belongs to the blue family of colors.
- What is the RGB value of #1F3964?
- The RGB value is 31, 57, 100: 31 red, 57 green and 100 blue on a 0 to 255 scale.
- What is the complementary color of #1F3964?
- The complementary color is #644A1F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F3964?
- White text. Black text has a contrast ratio of 1.83:1 and white text 11.49:1. WCAG asks for at least 4.5:1 for normal text.