#1F3039 color
The hex color #1F3039 is a very dark, desaturated azure.
In the RGB color model it is made of 12.2% red, 18.8% green and 22.4% blue (31, 48, 57).
Its hue angle is 201°, with 30% saturation and 17% lightness. For print, the CMYK equivalent is 46% cyan, 16% magenta, 0% yellow and 78% black.
The closest named color is Petrol Slumber (#243640), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.64:1).
#1F3039 color codes
| HEX | #1F3039 | |
|---|---|---|
| RGB | rgb(31, 48, 57) | |
| RGB percent | rgb(12.2%, 18.8%, 22.4%) | |
| HSL | hsl(201, 30%, 17%) | |
| HSV / HSB | hsv(201, 46%, 22%) | |
| CMYK | cmyk(46%, 16%, 0%, 78%) | |
| CIE LAB | lab(18.8, -4.13, -7.93) | |
| CIE LCH | lch(18.8, 8.94, 242.46) | |
| CIE XYZ | xyz(2.36, 2.7, 4.267) | |
| Decimal | 2043961 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F3039, 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 #1F3039 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.54:1 | Fail | Fail | Fail |
| Sample text | 13.64:1 | Pass | Pass | Pass |
| #1F3039 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.64:1 | Pass | Pass | Pass |
| Sample text | 1.54: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 #1F3039 looks to people with the most common types of color vision deficiency.
#2c2f39Protanopia
no red cones#282c39Deuteranopia
no green cones#153233Tritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #1f3039; }
.text { color: #1f3039; }
.border { border: 2px solid #1f3039; }
.transparent { background-color: rgb(31 48 57 / 50%); }
.gradient { background: linear-gradient(to right, #1f3039, #1f2339); }
Similar colors
#243640Petrol Slumber#172b36Oceanic Noir#1e3642Into the Night#1e3442Blue Whale#2a3439Gunmetal#203943Astral Nomad#293135Nightmare Fuel#1e272cBlack Pearl
Questions
- What color is #1F3039?
- #1F3039 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 #1F3039?
- The RGB value is 31, 48, 57: 31 red, 48 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #1F3039?
- The complementary color is #39281F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F3039?
- White text. Black text has a contrast ratio of 1.54:1 and white text 13.64:1. WCAG asks for at least 4.5:1 for normal text.