#1F3139 color
The hex color #1F3139 is a very dark, desaturated azure.
In the RGB color model it is made of 12.2% red, 19.2% green and 22.4% blue (31, 49, 57).
Its hue angle is 198°, with 30% saturation and 17% lightness. For print, the CMYK equivalent is 46% cyan, 14% magenta, 0% yellow and 78% black.
The closest named color is Petrol Slumber (#243640), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.49:1).
#1F3139 color codes
| HEX | #1F3139 | |
|---|---|---|
| RGB | rgb(31, 49, 57) | |
| RGB percent | rgb(12.2%, 19.2%, 22.4%) | |
| HSL | hsl(198, 30%, 17%) | |
| HSV / HSB | hsv(198, 46%, 22%) | |
| CMYK | cmyk(46%, 14%, 0%, 78%) | |
| CIE LAB | lab(19.15, -4.8, -7.4) | |
| CIE LCH | lch(19.15, 8.82, 237) | |
| CIE XYZ | xyz(2.402, 2.783, 4.281) | |
| Decimal | 2044217 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F3139, 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 #1F3139 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.56:1 | Fail | Fail | Fail |
| Sample text | 13.49:1 | Pass | Pass | Pass |
| #1F3139 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.49:1 | Pass | Pass | Pass |
| Sample text | 1.56: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 #1F3139 looks to people with the most common types of color vision deficiency.
#2d3039Protanopia
no red cones#292d39Deuteranopia
no green cones#153334Tritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #1f3139; }
.text { color: #1f3139; }
.border { border: 2px solid #1f3139; }
.transparent { background-color: rgb(31 49 57 / 50%); }
.gradient { background: linear-gradient(to right, #1f3139, #1f2439); }
Similar colors
#243640Petrol Slumber#1e3642Into the Night#172b36Oceanic Noir#203943Astral Nomad#1e3442Blue Whale#2a3439Gunmetal#293135Nightmare Fuel#0f282fBlack Box
Questions
- What color is #1F3139?
- #1F3139 is a very dark, desaturated azure, closest to the named color Petrol Slumber. It belongs to the black family of colors.
- What is the RGB value of #1F3139?
- The RGB value is 31, 49, 57: 31 red, 49 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #1F3139?
- The complementary color is #39271F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F3139?
- White text. Black text has a contrast ratio of 1.56:1 and white text 13.49:1. WCAG asks for at least 4.5:1 for normal text.