#3C3E42 color
The hex color #3C3E42 is a dark gray.
In the RGB color model it is made of 23.5% red, 24.3% green and 25.9% blue (60, 62, 66).
Its hue angle is 220°, with 5% saturation and 25% lightness. For print, the CMYK equivalent is 9% cyan, 6% magenta, 0% yellow and 74% black.
The closest named color is In the Dark (#3B3C41), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.72:1).
#3C3E42 color codes
| HEX | #3C3E42 | |
|---|---|---|
| RGB | rgb(60, 62, 66) | |
| RGB percent | rgb(23.5%, 24.3%, 25.9%) | |
| HSL | hsl(220, 5%, 25%) | |
| HSV / HSB | hsv(220, 9%, 26%) | |
| CMYK | cmyk(9%, 6%, 0%, 74%) | |
| CIE LAB | lab(26.15, 0.1, -2.74) | |
| CIE LCH | lch(26.15, 2.74, 272.15) | |
| CIE XYZ | xyz(4.569, 4.799, 5.839) | |
| Decimal | 3948098 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3C3E42, 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 #3C3E42 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.96:1 | Fail | Fail | Fail |
| Sample text | 10.72:1 | Pass | Pass | Pass |
| #3C3E42 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.72:1 | Pass | Pass | Pass |
| Sample text | 1.96: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 #3C3E42 looks to people with the most common types of color vision deficiency.
#3d3e42Protanopia
no red cones#3c3e42Deuteranopia
no green cones#3b3f3fTritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #3c3e42; }
.text { color: #3c3e42; }
.border { border: 2px solid #3c3e42; }
.transparent { background-color: rgb(60 62 66 / 50%); }
.gradient { background: linear-gradient(to right, #3c3e42, #3d3c42); }
Similar colors
#3b3c41In the Dark#37393eArtist’s Charcoal#3b3b3dCoal Hard Truth#36383cVulcan#38393fAfter Midnight#3e4244Metropolitan Silhouette#414549Stargazing#3b3f40Tamahagane
Closest common color name: Graphite.
Questions
- What color is #3C3E42?
- #3C3E42 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 #3C3E42?
- The RGB value is 60, 62, 66: 60 red, 62 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #3C3E42?
- The complementary color is #42403C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3C3E42?
- White text. Black text has a contrast ratio of 1.96:1 and white text 10.72:1. WCAG asks for at least 4.5:1 for normal text.