#3A3A3C color
The hex color #3A3A3C is a dark gray.
In the RGB color model it is made of 22.7% red, 22.7% green and 23.5% blue (58, 58, 60).
Its hue angle is 240°, with 2% saturation and 23% lightness. For print, the CMYK equivalent is 3% cyan, 3% magenta, 0% yellow and 76% black.
The closest named color is Coal Hard Truth (#3B3B3D), a difference of 0.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.35:1).
#3A3A3C color codes
| HEX | #3A3A3C | |
|---|---|---|
| RGB | rgb(58, 58, 60) | |
| RGB percent | rgb(22.7%, 22.7%, 23.5%) | |
| HSL | hsl(240, 2%, 23%) | |
| HSV / HSB | hsv(240, 3%, 24%) | |
| CMYK | cmyk(3%, 3%, 0%, 76%) | |
| CIE LAB | lab(24.49, 0.46, -1.24) | |
| CIE LCH | lch(24.49, 1.32, 290.45) | |
| CIE XYZ | xyz(4.073, 4.252, 4.88) | |
| Decimal | 3815996 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A3A3C, 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 #3A3A3C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.85:1 | Fail | Fail | Fail |
| Sample text | 11.35:1 | Pass | Pass | Pass |
| #3A3A3C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.35:1 | Pass | Pass | Pass |
| Sample text | 1.85: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 #3A3A3C looks to people with the most common types of color vision deficiency.
#3a3a3cProtanopia
no red cones#3a3a3cDeuteranopia
no green cones#3a3a3bTritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #3a3a3c; }
.text { color: #3a3a3c; }
.border { border: 2px solid #3a3a3c; }
.transparent { background-color: rgb(58 58 60 / 50%); }
.gradient { background: linear-gradient(to right, #3a3a3c, #3b3a3c); }
Similar colors
#3b3b3dCoal Hard Truth#383838Graphite#383838Lacquered Liquorice#36383cVulcan#3b3c41In the Dark#37393eArtist’s Charcoal#343434Jet Black#38393fAfter Midnight
Questions
- What color is #3A3A3C?
- #3A3A3C is a dark gray, closest to the named color Coal Hard Truth. It belongs to the gray family of colors.
- What is the RGB value of #3A3A3C?
- The RGB value is 58, 58, 60: 58 red, 58 green and 60 blue on a 0 to 255 scale.
- What is the complementary color of #3A3A3C?
- The complementary color is #3C3C3A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A3A3C?
- White text. Black text has a contrast ratio of 1.85:1 and white text 11.35:1. WCAG asks for at least 4.5:1 for normal text.