#3F404C color
The hex color #3F404C is a dark, grayish blue.
In the RGB color model it is made of 24.7% red, 25.1% green and 29.8% blue (63, 64, 76).
Its hue angle is 235°, with 9% saturation and 27% lightness. For print, the CMYK equivalent is 17% cyan, 16% magenta, 0% yellow and 70% black.
The closest named color is Midnight Serenade (#41434E), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.25:1).
#3F404C color codes
| HEX | #3F404C | |
|---|---|---|
| RGB | rgb(63, 64, 76) | |
| RGB percent | rgb(24.7%, 25.1%, 29.8%) | |
| HSL | hsl(235, 9%, 27%) | |
| HSV / HSB | hsv(235, 17%, 30%) | |
| CMYK | cmyk(17%, 16%, 0%, 70%) | |
| CIE LAB | lab(27.42, 2.49, -7.39) | |
| CIE LCH | lch(27.42, 7.8, 288.65) | |
| CIE XYZ | xyz(5.188, 5.245, 7.575) | |
| Decimal | 4145228 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3F404C, 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 #3F404C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.05:1 | Fail | Fail | Fail |
| Sample text | 10.25:1 | Pass | Pass | Pass |
| #3F404C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.25:1 | Pass | Pass | Pass |
| Sample text | 2.05: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 #3F404C looks to people with the most common types of color vision deficiency.
#3d414dProtanopia
no red cones#3c404cDeuteranopia
no green cones#3c4244Tritanopia
no blue cones#414141Achromatopsia
no color vision
CSS examples
.background { background-color: #3f404c; }
.text { color: #3f404c; }
.border { border: 2px solid #3f404c; }
.transparent { background-color: rgb(63 64 76 / 50%); }
.gradient { background: linear-gradient(to right, #3f404c, #453f4c); }
Similar colors
#41434eMidnight Serenade#3f4250Madonna#3c4151Lava Stone#484753Gun Powder#393f4bInkblot#424753Midnight Sky#3f4551Dark Crypt#413d4bItalian Grape
Closest common color name: Graphite.
Questions
- What color is #3F404C?
- #3F404C 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 #3F404C?
- The RGB value is 63, 64, 76: 63 red, 64 green and 76 blue on a 0 to 255 scale.
- What is the complementary color of #3F404C?
- The complementary color is #4C4B3F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3F404C?
- White text. Black text has a contrast ratio of 2.05:1 and white text 10.25:1. WCAG asks for at least 4.5:1 for normal text.