#3D404C color
The hex color #3D404C is a dark, grayish blue.
In the RGB color model it is made of 23.9% red, 25.1% green and 29.8% blue (61, 64, 76).
Its hue angle is 228°, with 11% saturation and 27% lightness. For print, the CMYK equivalent is 20% cyan, 16% magenta, 0% yellow and 70% black.
The closest named color is Midnight Serenade (#41434E), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.31:1).
#3D404C color codes
| HEX | #3D404C | |
|---|---|---|
| RGB | rgb(61, 64, 76) | |
| RGB percent | rgb(23.9%, 25.1%, 29.8%) | |
| HSL | hsl(228, 11%, 27%) | |
| HSV / HSB | hsv(228, 20%, 30%) | |
| CMYK | cmyk(20%, 16%, 0%, 70%) | |
| CIE LAB | lab(27.24, 1.73, -7.68) | |
| CIE LCH | lch(27.24, 7.87, 282.67) | |
| CIE XYZ | xyz(5.062, 5.181, 7.569) | |
| Decimal | 4014156 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3D404C, 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 #3D404C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.04:1 | Fail | Fail | Fail |
| Sample text | 10.31:1 | Pass | Pass | Pass |
| #3D404C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.31:1 | Pass | Pass | Pass |
| Sample text | 2.04: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 #3D404C looks to people with the most common types of color vision deficiency.
#3d414dProtanopia
no red cones#3c404cDeuteranopia
no green cones#3a4244Tritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #3d404c; }
.text { color: #3d404c; }
.border { border: 2px solid #3d404c; }
.transparent { background-color: rgb(61 64 76 / 50%); }
.gradient { background: linear-gradient(to right, #3d404c, #423d4c); }
Similar colors
#41434eMidnight Serenade#3f4250Madonna#393f4bInkblot#3c4151Lava Stone#3f4551Dark Crypt#424753Midnight Sky#484753Gun Powder#363b43Do Not Disturb
Closest common color name: Charcoal.
Questions
- What color is #3D404C?
- #3D404C is a dark, grayish blue, closest to the named color Midnight Serenade. It belongs to the gray family of colors.
- What is the RGB value of #3D404C?
- The RGB value is 61, 64, 76: 61 red, 64 green and 76 blue on a 0 to 255 scale.
- What is the complementary color of #3D404C?
- The complementary color is #4C493D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3D404C?
- White text. Black text has a contrast ratio of 2.04:1 and white text 10.31:1. WCAG asks for at least 4.5:1 for normal text.