#1F3C47 color
The hex color #1F3C47 is a dark, desaturated azure.
In the RGB color model it is made of 12.2% red, 23.5% green and 27.8% blue (31, 60, 71).
Its hue angle is 197°, with 39% saturation and 20% lightness. For print, the CMYK equivalent is 56% cyan, 15% magenta, 0% yellow and 72% black.
The closest named color is Astral Nomad (#203943), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.7:1).
#1F3C47 color codes
| HEX | #1F3C47 | |
|---|---|---|
| RGB | rgb(31, 60, 71) | |
| RGB percent | rgb(12.2%, 23.5%, 27.8%) | |
| HSL | hsl(197, 39%, 20%) | |
| HSV / HSB | hsv(197, 56%, 28%) | |
| CMYK | cmyk(56%, 15%, 0%, 72%) | |
| CIE LAB | lab(23.6, -7.27, -10.11) | |
| CIE LCH | lch(23.6, 12.45, 234.27) | |
| CIE XYZ | xyz(3.318, 3.978, 6.553) | |
| Decimal | 2047047 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F3C47, 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 #1F3C47 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.8:1 | Fail | Fail | Fail |
| Sample text | 11.7:1 | Pass | Pass | Pass |
| #1F3C47 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.7:1 | Pass | Pass | Pass |
| Sample text | 1.8: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 #1F3C47 looks to people with the most common types of color vision deficiency.
#363b48Protanopia
no red cones#303647Deuteranopia
no green cones#083f3fTritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #1f3c47; }
.text { color: #1f3c47; }
.border { border: 2px solid #1f3c47; }
.transparent { background-color: rgb(31 60 71 / 50%); }
.gradient { background: linear-gradient(to right, #1f3c47, #1f2847); }
Similar colors
#203943Astral Nomad#1e3642Into the Night#1c3b42Royal Neptune#253f4eDepths of the Nile#1c3d44Sunken Harbour#154250Cold and Dark#243640Petrol Slumber#254855Mallard
Closest common color name: Charcoal.
Questions
- What color is #1F3C47?
- #1F3C47 is a dark, desaturated azure, closest to the named color Astral Nomad. It belongs to the gray family of colors.
- What is the RGB value of #1F3C47?
- The RGB value is 31, 60, 71: 31 red, 60 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #1F3C47?
- The complementary color is #472A1F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F3C47?
- White text. Black text has a contrast ratio of 1.8:1 and white text 11.7:1. WCAG asks for at least 4.5:1 for normal text.