#1F3C5F color
The hex color #1F3C5F is a dark, moderate azure.
In the RGB color model it is made of 12.2% red, 23.5% green and 37.3% blue (31, 60, 95).
Its hue angle is 213°, with 51% saturation and 25% lightness. For print, the CMYK equivalent is 67% cyan, 37% magenta, 0% yellow and 63% black.
The closest named color is Nautilus (#273C5A), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.23:1).
#1F3C5F color codes
| HEX | #1F3C5F | |
|---|---|---|
| RGB | rgb(31, 60, 95) | |
| RGB percent | rgb(12.2%, 23.5%, 37.3%) | |
| HSL | hsl(213, 51%, 25%) | |
| HSV / HSB | hsv(213, 67%, 37%) | |
| CMYK | cmyk(67%, 37%, 0%, 63%) | |
| CIE LAB | lab(24.79, 1.58, -24.04) | |
| CIE LCH | lch(24.79, 24.09, 273.76) | |
| CIE XYZ | xyz(4.246, 4.349, 11.44) | |
| Decimal | 2047071 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F3C5F, 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 #1F3C5F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.87:1 | Fail | Fail | Fail |
| Sample text | 11.23:1 | Pass | Pass | Pass |
| #1F3C5F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.23:1 | Pass | Pass | Pass |
| Sample text | 1.87: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 #1F3C5F looks to people with the most common types of color vision deficiency.
#2d3e60Protanopia
no red cones#24385eDeuteranopia
no green cones#004449Tritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #1f3c5f; }
.text { color: #1f3c5f; }
.border { border: 2px solid #1f3c5f; }
.transparent { background-color: rgb(31 60 95 / 50%); }
.gradient { background: linear-gradient(to right, #1f3c5f, #221f5f); }
Similar colors
#273c5aNautilus#143c5dPoseidon#27426bNightlife#2c4364Black Turmeric#1b416fAegean Blue#03386aLost in Space#003b6fTardis Blue#254770Pretty Twilight Night
Closest common color name: Prussian Blue.
Questions
- What color is #1F3C5F?
- #1F3C5F 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 #1F3C5F?
- The RGB value is 31, 60, 95: 31 red, 60 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #1F3C5F?
- The complementary color is #5F421F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F3C5F?
- White text. Black text has a contrast ratio of 1.87:1 and white text 11.23:1. WCAG asks for at least 4.5:1 for normal text.