#1F1E25 color
The hex color #1F1E25 is a very dark, grayish blue.
In the RGB color model it is made of 12.2% red, 11.8% green and 14.5% blue (31, 30, 37).
Its hue angle is 249°, with 10% saturation and 13% lightness. For print, the CMYK equivalent is 16% cyan, 19% magenta, 0% yellow and 85% black.
The closest named color is Darth Vader (#27252A), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.53:1).
#1F1E25 color codes
| HEX | #1F1E25 | |
|---|---|---|
| RGB | rgb(31, 30, 37) | |
| RGB percent | rgb(12.2%, 11.8%, 14.5%) | |
| HSL | hsl(249, 10%, 13%) | |
| HSV / HSB | hsv(249, 19%, 15%) | |
| CMYK | cmyk(16%, 19%, 0%, 85%) | |
| CIE LAB | lab(11.64, 2.33, -4.57) | |
| CIE LCH | lch(11.64, 5.13, 296.99) | |
| CIE XYZ | xyz(1.363, 1.353, 1.939) | |
| Decimal | 2039333 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F1E25, 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 #1F1E25 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.27:1 | Fail | Fail | Fail |
| Sample text | 16.53:1 | Pass | Pass | Pass |
| #1F1E25 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.53:1 | Pass | Pass | Pass |
| Sample text | 1.27: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 #1F1E25 looks to people with the most common types of color vision deficiency.
#1d1f25Protanopia
no red cones#1d1f25Deuteranopia
no green cones#1e1f20Tritanopia
no blue cones#1f1f1fAchromatopsia
no color vision
CSS examples
.background { background-color: #1f1e25; }
.text { color: #1f1e25; }
.border { border: 2px solid #1f1e25; }
.transparent { background-color: rgb(31 30 37 / 50%); }
.gradient { background: linear-gradient(to right, #1f1e25, #231e25); }
Similar colors
#27252aDarth Vader#16161dEigengrau#201b20Night Demons#1e1e21Inkwell Inception#252024Ink Black#1a161dViolet Void#16141cBack in Black#202124Noble Black
Closest common color name: Midnight Black.
Questions
- What color is #1F1E25?
- #1F1E25 is a very dark, grayish blue, closest to the named color Darth Vader. It belongs to the black family of colors.
- What is the RGB value of #1F1E25?
- The RGB value is 31, 30, 37: 31 red, 30 green and 37 blue on a 0 to 255 scale.
- What is the complementary color of #1F1E25?
- The complementary color is #24251E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F1E25?
- White text. Black text has a contrast ratio of 1.27:1 and white text 16.53:1. WCAG asks for at least 4.5:1 for normal text.