#252836 color
The hex color #252836 is a very dark, grayish blue.
In the RGB color model it is made of 14.5% red, 15.7% green and 21.2% blue (37, 40, 54).
Its hue angle is 229°, with 19% saturation and 18% lightness. For print, the CMYK equivalent is 31% cyan, 26% magenta, 0% yellow and 79% black.
The closest named color is Moonless Mystery (#1E2433), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.63:1).
#252836 color codes
| HEX | #252836 | |
|---|---|---|
| RGB | rgb(37, 40, 54) | |
| RGB percent | rgb(14.5%, 15.7%, 21.2%) | |
| HSL | hsl(229, 19%, 18%) | |
| HSV / HSB | hsv(229, 31%, 21%) | |
| CMYK | cmyk(31%, 26%, 0%, 79%) | |
| CIE LAB | lab(16.39, 2.61, -9.48) | |
| CIE LCH | lch(16.39, 9.83, 285.37) | |
| CIE XYZ | xyz(2.187, 2.177, 3.794) | |
| Decimal | 2435126 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #252836, 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 #252836 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.44:1 | Fail | Fail | Fail |
| Sample text | 14.63:1 | Pass | Pass | Pass |
| #252836 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.63:1 | Pass | Pass | Pass |
| Sample text | 1.44: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 #252836 looks to people with the most common types of color vision deficiency.
#242937Protanopia
no red cones#232836Deuteranopia
no green cones#212b2dTritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #252836; }
.text { color: #252836; }
.border { border: 2px solid #252836; }
.transparent { background-color: rgb(37 40 54 / 50%); }
.gradient { background: linear-gradient(to right, #252836, #2b2536); }
Similar colors
#1e2433Moonless Mystery#21263aMidnight Express#2c2a35Haiti#222233Black Velvet#1f2133Eclipse Elixir#1b2431Dark#222831Infinity#303543Total Eclipse
Closest common color name: Gunmetal.
Questions
- What color is #252836?
- #252836 is a very dark, grayish blue, closest to the named color Moonless Mystery. It belongs to the black family of colors.
- What is the RGB value of #252836?
- The RGB value is 37, 40, 54: 37 red, 40 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #252836?
- The complementary color is #363325, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #252836?
- White text. Black text has a contrast ratio of 1.44:1 and white text 14.63:1. WCAG asks for at least 4.5:1 for normal text.