#1F2534 color
The hex color #1F2534 is a very dark, desaturated blue.
In the RGB color model it is made of 12.2% red, 14.5% green and 20.4% blue (31, 37, 52).
Its hue angle is 223°, with 25% saturation and 16% lightness. For print, the CMYK equivalent is 40% cyan, 29% magenta, 0% yellow and 80% black.
The closest named color is Moonless Mystery (#1E2433), a difference of 0.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.3:1).
#1F2534 color codes
| HEX | #1F2534 | |
|---|---|---|
| RGB | rgb(31, 37, 52) | |
| RGB percent | rgb(12.2%, 14.5%, 20.4%) | |
| HSL | hsl(223, 25%, 16%) | |
| HSV / HSB | hsv(223, 40%, 20%) | |
| CMYK | cmyk(40%, 29%, 0%, 80%) | |
| CIE LAB | lab(14.75, 1.88, -10.64) | |
| CIE LCH | lch(14.75, 10.81, 280) | |
| CIE XYZ | xyz(1.846, 1.862, 3.51) | |
| Decimal | 2041140 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F2534, 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 #1F2534 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.37:1 | Fail | Fail | Fail |
| Sample text | 15.3:1 | Pass | Pass | Pass |
| #1F2534 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.3:1 | Pass | Pass | Pass |
| Sample text | 1.37: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 #1F2534 looks to people with the most common types of color vision deficiency.
#202635Protanopia
no red cones#1e2434Deuteranopia
no green cones#19282aTritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #1f2534; }
.text { color: #1f2534; }
.border { border: 2px solid #1f2534; }
.transparent { background-color: rgb(31 37 52 / 50%); }
.gradient { background: linear-gradient(to right, #1f2534, #241f34); }
Similar colors
#1e2433Moonless Mystery#1b2431Dark#21263aMidnight Express#1f2133Eclipse Elixir#222831Infinity#222233Black Velvet#161e34Sombre Night#0e1d32Trapped Darkness
Closest common color name: Gunmetal.
Questions
- What color is #1F2534?
- #1F2534 is a very dark, desaturated blue, closest to the named color Moonless Mystery. It belongs to the black family of colors.
- What is the RGB value of #1F2534?
- The RGB value is 31, 37, 52: 31 red, 37 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #1F2534?
- The complementary color is #342E1F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F2534?
- White text. Black text has a contrast ratio of 1.37:1 and white text 15.3:1. WCAG asks for at least 4.5:1 for normal text.