#1F2D3E color
The hex color #1F2D3E is a very dark, desaturated azure.
In the RGB color model it is made of 12.2% red, 17.6% green and 24.3% blue (31, 45, 62).
Its hue angle is 213°, with 33% saturation and 18% lightness. For print, the CMYK equivalent is 50% cyan, 27% magenta, 0% yellow and 76% black.
The closest named color is Dark (#1B2431), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.97:1).
#1F2D3E color codes
| HEX | #1F2D3E | |
|---|---|---|
| RGB | rgb(31, 45, 62) | |
| RGB percent | rgb(12.2%, 17.6%, 24.3%) | |
| HSL | hsl(213, 33%, 18%) | |
| HSV / HSB | hsv(213, 50%, 24%) | |
| CMYK | cmyk(50%, 27%, 0%, 76%) | |
| CIE LAB | lab(17.99, -0.38, -12.62) | |
| CIE LCH | lch(17.99, 12.62, 268.28) | |
| CIE XYZ | xyz(2.373, 2.516, 4.917) | |
| Decimal | 2043198 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F2D3E, 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 #1F2D3E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.5:1 | Fail | Fail | Fail |
| Sample text | 13.97:1 | Pass | Pass | Pass |
| #1F2D3E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.97:1 | Pass | Pass | Pass |
| Sample text | 1.5: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 #1F2D3E looks to people with the most common types of color vision deficiency.
#272e3fProtanopia
no red cones#232b3eDeuteranopia
no green cones#133133Tritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #1f2d3e; }
.text { color: #1f2d3e; }
.border { border: 2px solid #1f2d3e; }
.transparent { background-color: rgb(31 45 62 / 50%); }
.gradient { background: linear-gradient(to right, #1f2d3e, #201f3e); }
Similar colors
#1b2431Dark#102030The Count’s Black#1e2433Moonless Mystery#222831Infinity#303543Total Eclipse#1e3442Blue Whale#1c2841Eternal Darkness#172b36Oceanic Noir
Closest common color name: Prussian Blue.
Questions
- What color is #1F2D3E?
- #1F2D3E is a very dark, desaturated azure, closest to the named color Dark. It belongs to the gray family of colors.
- What is the RGB value of #1F2D3E?
- The RGB value is 31, 45, 62: 31 red, 45 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #1F2D3E?
- The complementary color is #3E301F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F2D3E?
- White text. Black text has a contrast ratio of 1.5:1 and white text 13.97:1. WCAG asks for at least 4.5:1 for normal text.