#3B3B40 color
The hex color #3B3B40 is a dark gray.
In the RGB color model it is made of 23.1% red, 23.1% green and 25.1% blue (59, 59, 64).
Its hue angle is 240°, with 4% saturation and 24% lightness. For print, the CMYK equivalent is 8% cyan, 8% magenta, 0% yellow and 75% black.
The closest named color is In the Dark (#3B3C41), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.14:1).
#3B3B40 color codes
| HEX | #3B3B40 | |
|---|---|---|
| RGB | rgb(59, 59, 64) | |
| RGB percent | rgb(23.1%, 23.1%, 25.1%) | |
| HSL | hsl(240, 4%, 24%) | |
| HSV / HSB | hsv(240, 8%, 25%) | |
| CMYK | cmyk(8%, 8%, 0%, 75%) | |
| CIE LAB | lab(25.04, 1.17, -3.08) | |
| CIE LCH | lch(25.04, 3.29, 290.86) | |
| CIE XYZ | xyz(4.293, 4.428, 5.478) | |
| Decimal | 3881792 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3B3B40, 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 #3B3B40 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.89:1 | Fail | Fail | Fail |
| Sample text | 11.14:1 | Pass | Pass | Pass |
| #3B3B40 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.14:1 | Pass | Pass | Pass |
| Sample text | 1.89: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 #3B3B40 looks to people with the most common types of color vision deficiency.
#3a3c40Protanopia
no red cones#3a3b40Deuteranopia
no green cones#3a3c3dTritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #3b3b40; }
.text { color: #3b3b40; }
.border { border: 2px solid #3b3b40; }
.transparent { background-color: rgb(59 59 64 / 50%); }
.gradient { background: linear-gradient(to right, #3b3b40, #3e3b40); }
Similar colors
#3b3c41In the Dark#38393fAfter Midnight#37393eArtist’s Charcoal#3c393dMoonless Night#3b3b3dCoal Hard Truth#36383cVulcan#3f3c43Tuxedo#363b43Do Not Disturb
Closest common color name: Graphite.
Questions
- What color is #3B3B40?
- #3B3B40 is a dark gray, closest to the named color In the Dark. It belongs to the gray family of colors.
- What is the RGB value of #3B3B40?
- The RGB value is 59, 59, 64: 59 red, 59 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #3B3B40?
- The complementary color is #40403B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3B3B40?
- White text. Black text has a contrast ratio of 1.89:1 and white text 11.14:1. WCAG asks for at least 4.5:1 for normal text.