#405248 color
The hex color #405248 is a dark, grayish green.
In the RGB color model it is made of 25.1% red, 32.2% green and 28.2% blue (64, 82, 72).
Its hue angle is 147°, with 12% saturation and 29% lightness. For print, the CMYK equivalent is 22% cyan, 0% magenta, 12% yellow and 68% black.
The closest named color is Pine Needle (#334D41), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.34:1).
#405248 color codes
| HEX | #405248 | |
|---|---|---|
| RGB | rgb(64, 82, 72) | |
| RGB percent | rgb(25.1%, 32.2%, 28.2%) | |
| HSL | hsl(147, 12%, 29%) | |
| HSV / HSB | hsv(147, 22%, 32%) | |
| CMYK | cmyk(22%, 0%, 12%, 68%) | |
| CIE LAB | lab(33.12, -9.36, 3.58) | |
| CIE LCH | lch(33.12, 10.02, 159.09) | |
| CIE XYZ | xyz(6.301, 7.592, 7.263) | |
| Decimal | 4215368 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405248, 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 #405248 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.52:1 | Fail | Fail | Fail |
| Sample text | 8.34:1 | Pass | Pass | Pass |
| #405248 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.34:1 | Pass | Pass | Pass |
| Sample text | 2.52: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 #405248 looks to people with the most common types of color vision deficiency.
#524f48Protanopia
no red cones#4e4d49Deuteranopia
no green cones#3d524fTritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #405248; }
.text { color: #405248; }
.border { border: 2px solid #405248; }
.transparent { background-color: rgb(64 82 72 / 50%); }
.gradient { background: linear-gradient(to right, #405248, #405251); }
Similar colors
#334d41Pine Needle#3e594cPlantation#394c3bMountain View#33534bHunter#4e5a4aVerdant Hush#3c4f4eNight Watch#424f3bHōjicha#3c463eDeep Forest
Closest common color name: Ebony.
Questions
- What color is #405248?
- #405248 is a dark, grayish green, closest to the named color Pine Needle. It belongs to the gray family of colors.
- What is the RGB value of #405248?
- The RGB value is 64, 82, 72: 64 red, 82 green and 72 blue on a 0 to 255 scale.
- What is the complementary color of #405248?
- The complementary color is #52404A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405248?
- White text. Black text has a contrast ratio of 2.52:1 and white text 8.34:1. WCAG asks for at least 4.5:1 for normal text.