#1F3034 color
The hex color #1F3034 is a very dark, desaturated cyan.
In the RGB color model it is made of 12.2% red, 18.8% green and 20.4% blue (31, 48, 52).
Its hue angle is 191°, with 25% saturation and 16% lightness. For print, the CMYK equivalent is 40% cyan, 8% magenta, 0% yellow and 80% black.
The closest named color is Black Box (#0F282F), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.72:1).
#1F3034 color codes
| HEX | #1F3034 | |
|---|---|---|
| RGB | rgb(31, 48, 52) | |
| RGB percent | rgb(12.2%, 18.8%, 20.4%) | |
| HSL | hsl(191, 25%, 16%) | |
| HSV / HSB | hsv(191, 40%, 20%) | |
| CMYK | cmyk(40%, 8%, 0%, 80%) | |
| CIE LAB | lab(18.6, -5.74, -4.79) | |
| CIE LCH | lch(18.6, 7.47, 219.87) | |
| CIE XYZ | xyz(2.242, 2.653, 3.642) | |
| Decimal | 2043956 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F3034, 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 #1F3034 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.53:1 | Fail | Fail | Fail |
| Sample text | 13.72:1 | Pass | Pass | Pass |
| #1F3034 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.72:1 | Pass | Pass | Pass |
| Sample text | 1.53: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 #1F3034 looks to people with the most common types of color vision deficiency.
#2d2f34Protanopia
no red cones#292c34Deuteranopia
no green cones#173231Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #1f3034; }
.text { color: #1f3034; }
.border { border: 2px solid #1f3034; }
.transparent { background-color: rgb(31 48 52 / 50%); }
.gradient { background: linear-gradient(to right, #1f3034, #1f2534); }
Similar colors
#0f282fBlack Box#2a3439Gunmetal#10252aSunken Ship#293135Nightmare Fuel#243640Petrol Slumber#293432Aztec#203943Astral Nomad#133337Elite Teal
Questions
- What color is #1F3034?
- #1F3034 is a very dark, desaturated cyan, closest to the named color Black Box. It belongs to the black family of colors.
- What is the RGB value of #1F3034?
- The RGB value is 31, 48, 52: 31 red, 48 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #1F3034?
- The complementary color is #34231F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F3034?
- White text. Black text has a contrast ratio of 1.53:1 and white text 13.72:1. WCAG asks for at least 4.5:1 for normal text.