#3F4038 color
The hex color #3F4038 is a dark gray.
In the RGB color model it is made of 24.7% red, 25.1% green and 22% blue (63, 64, 56).
Its hue angle is 67°, with 7% saturation and 24% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 13% yellow and 75% black.
The closest named color is Black Olive (#3B3C36), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.49:1).
#3F4038 color codes
| HEX | #3F4038 | |
|---|---|---|
| RGB | rgb(63, 64, 56) | |
| RGB percent | rgb(24.7%, 25.1%, 22%) | |
| HSL | hsl(67, 7%, 24%) | |
| HSV / HSB | hsv(67, 13%, 25%) | |
| CMYK | cmyk(2%, 0%, 13%, 75%) | |
| CIE LAB | lab(26.76, -2.14, 4.76) | |
| CIE LCH | lch(26.76, 5.22, 114.24) | |
| CIE XYZ | xyz(4.597, 5.009, 4.465) | |
| Decimal | 4145208 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3F4038, 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 #3F4038 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2:1 | Fail | Fail | Fail |
| Sample text | 10.49:1 | Pass | Pass | Pass |
| #3F4038 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.49:1 | Pass | Pass | Pass |
| Sample text | 2: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 #3F4038 looks to people with the most common types of color vision deficiency.
#413f38Protanopia
no red cones#413f38Deuteranopia
no green cones#403f3eTritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #3f4038; }
.text { color: #3f4038; }
.border { border: 2px solid #3f4038; }
.transparent { background-color: rgb(63 64 56 / 50%); }
.gradient { background: linear-gradient(to right, #3f4038, #3b4038); }
Similar colors
#3b3c36Black Olive#46473eHeavy Metal#44413cDeepest Nightmare#353935Onyx#49463fWhiskey and Wine#484a46Armadillo#424443Vulcanised#444b43Ancient Pine
Questions
- What color is #3F4038?
- #3F4038 is a dark gray, closest to the named color Black Olive. It belongs to the gray family of colors.
- What is the RGB value of #3F4038?
- The RGB value is 63, 64, 56: 63 red, 64 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #3F4038?
- The complementary color is #393840, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3F4038?
- White text. Black text has a contrast ratio of 2:1 and white text 10.49:1. WCAG asks for at least 4.5:1 for normal text.