#1F2C43 color
The hex color #1F2C43 is a very dark, desaturated azure.
In the RGB color model it is made of 12.2% red, 17.3% green and 26.3% blue (31, 44, 67).
Its hue angle is 218°, with 37% saturation and 19% lightness. For print, the CMYK equivalent is 54% cyan, 34% magenta, 0% yellow and 74% black.
The closest named color is Eternal Darkness (#1C2841), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14:1).
#1F2C43 color codes
| HEX | #1F2C43 | |
|---|---|---|
| RGB | rgb(31, 44, 67) | |
| RGB percent | rgb(12.2%, 17.3%, 26.3%) | |
| HSL | hsl(218, 37%, 19%) | |
| HSV / HSB | hsv(218, 54%, 26%) | |
| CMYK | cmyk(54%, 34%, 0%, 74%) | |
| CIE LAB | lab(17.91, 2.11, -16.18) | |
| CIE LCH | lch(17.91, 16.32, 277.44) | |
| CIE XYZ | xyz(2.479, 2.498, 5.661) | |
| Decimal | 2042947 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F2C43, 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 #1F2C43 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.5:1 | Fail | Fail | Fail |
| Sample text | 14:1 | Pass | Pass | Pass |
| #1F2C43 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14: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 #1F2C43 looks to people with the most common types of color vision deficiency.
#232e44Protanopia
no red cones#1f2a43Deuteranopia
no green cones#103134Tritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #1f2c43; }
.text { color: #1f2c43; }
.border { border: 2px solid #1f2c43; }
.transparent { background-color: rgb(31 44 67 / 50%); }
.gradient { background: linear-gradient(to right, #1f2c43, #241f43); }
Similar colors
#1c2841Eternal Darkness#21263aMidnight Express#0f2d4dMidnight Ocean#1e2433Moonless Mystery#0e1d32Trapped Darkness#161e34Sombre Night#2c2e47Midnight Masquerade#112244Dark Eclipse
Closest common color name: Oxford Blue.
Questions
- What color is #1F2C43?
- #1F2C43 is a very dark, desaturated azure, closest to the named color Eternal Darkness. It belongs to the blue family of colors.
- What is the RGB value of #1F2C43?
- The RGB value is 31, 44, 67: 31 red, 44 green and 67 blue on a 0 to 255 scale.
- What is the complementary color of #1F2C43?
- The complementary color is #43361F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F2C43?
- White text. Black text has a contrast ratio of 1.5:1 and white text 14:1. WCAG asks for at least 4.5:1 for normal text.