#3A404A color
The hex color #3A404A is a dark, grayish azure.
In the RGB color model it is made of 22.7% red, 25.1% green and 29% blue (58, 64, 74).
Its hue angle is 218°, with 12% saturation and 26% lightness. For print, the CMYK equivalent is 22% cyan, 14% magenta, 0% yellow and 71% black.
The closest named color is Inkblot (#393F4B), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.44:1).
#3A404A color codes
| HEX | #3A404A | |
|---|---|---|
| RGB | rgb(58, 64, 74) | |
| RGB percent | rgb(22.7%, 25.1%, 29%) | |
| HSL | hsl(218, 12%, 26%) | |
| HSV / HSB | hsv(218, 22%, 29%) | |
| CMYK | cmyk(22%, 14%, 0%, 71%) | |
| CIE LAB | lab(26.91, 0.05, -6.9) | |
| CIE LCH | lch(26.91, 6.9, 270.43) | |
| CIE XYZ | xyz(4.814, 5.061, 7.2) | |
| Decimal | 3817546 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3A404A, 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 #3A404A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.01:1 | Fail | Fail | Fail |
| Sample text | 10.44:1 | Pass | Pass | Pass |
| #3A404A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.44:1 | Pass | Pass | Pass |
| Sample text | 2.01: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 #3A404A looks to people with the most common types of color vision deficiency.
#3d404aProtanopia
no red cones#3b3f4aDeuteranopia
no green cones#364243Tritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #3a404a; }
.text { color: #3a404a; }
.border { border: 2px solid #3a404a; }
.transparent { background-color: rgb(58 64 74 / 50%); }
.gradient { background: linear-gradient(to right, #3a404a, #3c3a4a); }
Similar colors
#393f4bInkblot#363b43Do Not Disturb#3f4551Dark Crypt#424753Midnight Sky#41434eMidnight Serenade#3b444bArsenic#3e4855Starless Night#3f4250Madonna
Closest common color name: Charcoal.
Questions
- What color is #3A404A?
- #3A404A is a dark, grayish azure, closest to the named color Inkblot. It belongs to the gray family of colors.
- What is the RGB value of #3A404A?
- The RGB value is 58, 64, 74: 58 red, 64 green and 74 blue on a 0 to 255 scale.
- What is the complementary color of #3A404A?
- The complementary color is #4A443A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A404A?
- White text. Black text has a contrast ratio of 2.01:1 and white text 10.44:1. WCAG asks for at least 4.5:1 for normal text.