#1F2525 color
The hex color #1F2525 is a very dark, grayish cyan.
In the RGB color model it is made of 12.2% red, 14.5% green and 14.5% blue (31, 37, 37).
Its hue angle is 180°, with 9% saturation and 13% lightness. For print, the CMYK equivalent is 16% cyan, 0% magenta, 0% yellow and 85% black.
The closest named color is Graphite Black (#262A2B), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.56:1).
#1F2525 color codes
| HEX | #1F2525 | |
|---|---|---|
| RGB | rgb(31, 37, 37) | |
| RGB percent | rgb(12.2%, 14.5%, 14.5%) | |
| HSL | hsl(180, 9%, 13%) | |
| HSV / HSB | hsv(180, 16%, 15%) | |
| CMYK | cmyk(16%, 0%, 0%, 85%) | |
| CIE LAB | lab(14.1, -2.68, -0.91) | |
| CIE LCH | lch(14.1, 2.83, 198.73) | |
| CIE XYZ | xyz(1.56, 1.748, 2.005) | |
| Decimal | 2041125 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F2525, 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 #1F2525 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.56:1 | Pass | Pass | Pass |
| #1F2525 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.56:1 | Pass | Pass | Pass |
| Sample text | 1.35: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 #1F2525 looks to people with the most common types of color vision deficiency.
#242425Protanopia
no red cones#232325Deuteranopia
no green cones#1d2525Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #1f2525; }
.text { color: #1f2525; }
.border { border: 2px solid #1f2525; }
.transparent { background-color: rgb(31 37 37 / 50%); }
.gradient { background: linear-gradient(to right, #1f2525, #1f2225); }
Similar colors
#262a2bGraphite Black#262926Bitter Liquorice#242a2eCinder#1e272cBlack Pearl#232323Young Night#252525Nero#212121Lead#282828Dire Wolf
Closest common color name: Gunmetal.
Questions
- What color is #1F2525?
- #1F2525 is a very dark, grayish cyan, closest to the named color Graphite Black. It belongs to the black family of colors.
- What is the RGB value of #1F2525?
- The RGB value is 31, 37, 37: 31 red, 37 green and 37 blue on a 0 to 255 scale.
- What is the complementary color of #1F2525?
- The complementary color is #251F1F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F2525?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.56:1. WCAG asks for at least 4.5:1 for normal text.