#20252D color
The hex color #20252D is a very dark, grayish azure.
In the RGB color model it is made of 12.5% red, 14.5% green and 17.6% blue (32, 37, 45).
Its hue angle is 217°, with 17% saturation and 15% lightness. For print, the CMYK equivalent is 29% cyan, 18% magenta, 0% yellow and 82% black.
The closest named color is Infinity (#222831), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.4:1).
#20252D color codes
| HEX | #20252D | |
|---|---|---|
| RGB | rgb(32, 37, 45) | |
| RGB percent | rgb(12.5%, 14.5%, 17.6%) | |
| HSL | hsl(217, 17%, 15%) | |
| HSV / HSB | hsv(217, 29%, 18%) | |
| CMYK | cmyk(29%, 18%, 0%, 82%) | |
| CIE LAB | lab(14.51, 0.03, -6.02) | |
| CIE LCH | lch(14.51, 6.02, 270.3) | |
| CIE XYZ | xyz(1.731, 1.82, 2.742) | |
| Decimal | 2106669 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #20252D, 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 #20252D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.36:1 | Fail | Fail | Fail |
| Sample text | 15.4:1 | Pass | Pass | Pass |
| #20252D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.4:1 | Pass | Pass | Pass |
| Sample text | 1.36: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 #20252D looks to people with the most common types of color vision deficiency.
#22252dProtanopia
no red cones#21242dDeuteranopia
no green cones#1d2728Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #20252d; }
.text { color: #20252d; }
.border { border: 2px solid #20252d; }
.transparent { background-color: rgb(32 37 45 / 50%); }
.gradient { background: linear-gradient(to right, #20252d, #21202d); }
Similar colors
#222831Infinity#292b31Night Sky#1b2431Dark#28282dAnthracite#29292fJaguar#242a2eCinder#202124Noble Black#1e272cBlack Pearl
Closest common color name: Gunmetal.
Questions
- What color is #20252D?
- #20252D is a very dark, grayish azure, closest to the named color Infinity. It belongs to the black family of colors.
- What is the RGB value of #20252D?
- The RGB value is 32, 37, 45: 32 red, 37 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #20252D?
- The complementary color is #2D2820, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #20252D?
- White text. Black text has a contrast ratio of 1.36:1 and white text 15.4:1. WCAG asks for at least 4.5:1 for normal text.