#1F3744 color
The hex color #1F3744 is a very dark, desaturated azure.
In the RGB color model it is made of 12.2% red, 21.6% green and 26.7% blue (31, 55, 68).
Its hue angle is 201°, with 37% saturation and 19% lightness. For print, the CMYK equivalent is 54% cyan, 19% magenta, 0% yellow and 73% black.
The closest named color is Into the Night (#1E3642), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.44:1).
#1F3744 color codes
| HEX | #1F3744 | |
|---|---|---|
| RGB | rgb(31, 55, 68) | |
| RGB percent | rgb(12.2%, 21.6%, 26.7%) | |
| HSL | hsl(201, 37%, 19%) | |
| HSV / HSB | hsv(201, 54%, 27%) | |
| CMYK | cmyk(54%, 19%, 0%, 73%) | |
| CIE LAB | lab(21.73, -5.06, -10.95) | |
| CIE LCH | lch(21.73, 12.07, 245.18) | |
| CIE XYZ | xyz(2.974, 3.441, 5.975) | |
| Decimal | 2045764 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F3744, 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 #1F3744 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.69:1 | Fail | Fail | Fail |
| Sample text | 12.44:1 | Pass | Pass | Pass |
| #1F3744 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.44:1 | Pass | Pass | Pass |
| Sample text | 1.69: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 #1F3744 looks to people with the most common types of color vision deficiency.
#313645Protanopia
no red cones#2c3244Deuteranopia
no green cones#0d3a3bTritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #1f3744; }
.text { color: #1f3744; }
.border { border: 2px solid #1f3744; }
.transparent { background-color: rgb(31 55 68 / 50%); }
.gradient { background: linear-gradient(to right, #1f3744, #1f2544); }
Similar colors
#1e3642Into the Night#1e3442Blue Whale#243640Petrol Slumber#203943Astral Nomad#253f4eDepths of the Nile#172b36Oceanic Noir#003344Nordic Noir#1a4157Capital Blue
Closest common color name: Gunmetal.
Questions
- What color is #1F3744?
- #1F3744 is a very dark, desaturated azure, closest to the named color Into the Night. It belongs to the gray family of colors.
- What is the RGB value of #1F3744?
- The RGB value is 31, 55, 68: 31 red, 55 green and 68 blue on a 0 to 255 scale.
- What is the complementary color of #1F3744?
- The complementary color is #442C1F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F3744?
- White text. Black text has a contrast ratio of 1.69:1 and white text 12.44:1. WCAG asks for at least 4.5:1 for normal text.