#42404F color
The hex color #42404F is a dark, grayish blue.
In the RGB color model it is made of 25.9% red, 25.1% green and 31% blue (66, 64, 79).
Its hue angle is 248°, with 10% saturation and 28% lightness. For print, the CMYK equivalent is 16% cyan, 19% magenta, 0% yellow and 69% black.
The closest named color is Italian Grape (#413D4B), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.11:1).
#42404F color codes
| HEX | #42404F | |
|---|---|---|
| RGB | rgb(66, 64, 79) | |
| RGB percent | rgb(25.9%, 25.1%, 31%) | |
| HSL | hsl(248, 10%, 28%) | |
| HSV / HSB | hsv(248, 19%, 31%) | |
| CMYK | cmyk(16%, 19%, 0%, 69%) | |
| CIE LAB | lab(27.82, 4.43, -8.73) | |
| CIE LCH | lch(27.82, 9.79, 296.88) | |
| CIE XYZ | xyz(5.491, 5.39, 8.147) | |
| Decimal | 4341839 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #42404F, 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 #42404F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.08:1 | Fail | Fail | Fail |
| Sample text | 10.11:1 | Pass | Pass | Pass |
| #42404F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.11:1 | Pass | Pass | Pass |
| Sample text | 2.08: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 #42404F looks to people with the most common types of color vision deficiency.
#3d4250Protanopia
no red cones#3d414fDeuteranopia
no green cones#404245Tritanopia
no blue cones#424242Achromatopsia
no color vision
CSS examples
.background { background-color: #42404f; }
.text { color: #42404f; }
.border { border: 2px solid #42404f; }
.transparent { background-color: rgb(66 64 79 / 50%); }
.gradient { background: linear-gradient(to right, #42404f, #4a404f); }
Similar colors
#413d4bItalian Grape#484753Gun Powder#3f4250Madonna#41434eMidnight Serenade#3c4151Lava Stone#393540Professor Plum#3f3c43Tuxedo#4f4554Black Magic
Closest common color name: Graphite.
Questions
- What color is #42404F?
- #42404F is a dark, grayish blue, closest to the named color Italian Grape. It belongs to the gray family of colors.
- What is the RGB value of #42404F?
- The RGB value is 66, 64, 79: 66 red, 64 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #42404F?
- The complementary color is #4D4F40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #42404F?
- White text. Black text has a contrast ratio of 2.08:1 and white text 10.11:1. WCAG asks for at least 4.5:1 for normal text.