#1F3760 color
The hex color #1F3760 is a dark, moderate azure.
In the RGB color model it is made of 12.2% red, 21.6% green and 37.6% blue (31, 55, 96).
Its hue angle is 218°, with 51% saturation and 25% lightness. For print, the CMYK equivalent is 68% cyan, 43% magenta, 0% yellow and 62% black.
The closest named color is Nautilus (#273C5A), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.84:1).
#1F3760 color codes
| HEX | #1F3760 | |
|---|---|---|
| RGB | rgb(31, 55, 96) | |
| RGB percent | rgb(12.2%, 21.6%, 37.6%) | |
| HSL | hsl(218, 51%, 25%) | |
| HSV / HSB | hsv(218, 68%, 38%) | |
| CMYK | cmyk(68%, 43%, 0%, 62%) | |
| CIE LAB | lab(23.23, 5.43, -27.17) | |
| CIE LCH | lch(23.23, 27.71, 281.3) | |
| CIE XYZ | xyz(4.042, 3.868, 11.598) | |
| Decimal | 2045792 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F3760, 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 #1F3760 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.77:1 | Fail | Fail | Fail |
| Sample text | 11.84:1 | Pass | Pass | Pass |
| #1F3760 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.84:1 | Pass | Pass | Pass |
| Sample text | 1.77: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 #1F3760 looks to people with the most common types of color vision deficiency.
#253b62Protanopia
no red cones#1b355fDeuteranopia
no green cones#004046Tritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #1f3760; }
.text { color: #1f3760; }
.border { border: 2px solid #1f3760; }
.transparent { background-color: rgb(31 55 96 / 50%); }
.gradient { background: linear-gradient(to right, #1f3760, #271f60); }
Similar colors
#273c5aNautilus#003368Neptune’s Dream#042e60Marine#03386aLost in Space#27426bNightlife#2c4170Napoleonic Blue#1c2e63Mythical Night#2b3458Midnight Escapade
Closest common color name: Prussian Blue.
Questions
- What color is #1F3760?
- #1F3760 is a dark, moderate azure, closest to the named color Nautilus. It belongs to the blue family of colors.
- What is the RGB value of #1F3760?
- The RGB value is 31, 55, 96: 31 red, 55 green and 96 blue on a 0 to 255 scale.
- What is the complementary color of #1F3760?
- The complementary color is #60481F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F3760?
- White text. Black text has a contrast ratio of 1.77:1 and white text 11.84:1. WCAG asks for at least 4.5:1 for normal text.