#3E4840 color
The hex color #3E4840 is a dark gray.
In the RGB color model it is made of 24.3% red, 28.2% green and 25.1% blue (62, 72, 64).
Its hue angle is 132°, with 7% saturation and 26% lightness. For print, the CMYK equivalent is 14% cyan, 0% magenta, 11% yellow and 72% black.
The closest named color is Deep Forest (#3C463E), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.52:1).
#3E4840 color codes
| HEX | #3E4840 | |
|---|---|---|
| RGB | rgb(62, 72, 64) | |
| RGB percent | rgb(24.3%, 28.2%, 25.1%) | |
| HSL | hsl(132, 7%, 26%) | |
| HSV / HSB | hsv(132, 14%, 28%) | |
| CMYK | cmyk(14%, 0%, 11%, 72%) | |
| CIE LAB | lab(29.49, -5.89, 3.44) | |
| CIE LCH | lch(29.49, 6.82, 149.71) | |
| CIE XYZ | xyz(5.229, 6.029, 5.738) | |
| Decimal | 4081728 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3E4840, 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 #3E4840 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.21:1 | Fail | Fail | Fail |
| Sample text | 9.52:1 | Pass | Pass | Pass |
| #3E4840 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.52:1 | Pass | Pass | Pass |
| Sample text | 2.21: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 #3E4840 looks to people with the most common types of color vision deficiency.
#484640Protanopia
no red cones#464540Deuteranopia
no green cones#3d4846Tritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #3e4840; }
.text { color: #3e4840; }
.border { border: 2px solid #3e4840; }
.transparent { background-color: rgb(62 72 64 / 50%); }
.gradient { background: linear-gradient(to right, #3e4840, #3e4845); }
Similar colors
#3c463eDeep Forest#444b43Ancient Pine#424c4aUrban Chic#46473eHeavy Metal#444b4aMoonless Sky#484a46Armadillo#3c4f4eNight Watch#394c3bMountain View
Closest common color name: Onyx.
Questions
- What color is #3E4840?
- #3E4840 is a dark gray, closest to the named color Deep Forest. It belongs to the gray family of colors.
- What is the RGB value of #3E4840?
- The RGB value is 62, 72, 64: 62 red, 72 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #3E4840?
- The complementary color is #483E46, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3E4840?
- White text. Black text has a contrast ratio of 2.21:1 and white text 9.52:1. WCAG asks for at least 4.5:1 for normal text.