#42434E color
The hex color #42434E is a dark, grayish blue.
In the RGB color model it is made of 25.9% red, 26.3% green and 30.6% blue (66, 67, 78).
Its hue angle is 235°, with 8% saturation and 28% lightness. For print, the CMYK equivalent is 15% cyan, 14% magenta, 0% yellow and 69% black.
The closest named color is Midnight Serenade (#41434E), a difference of 0.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.79:1).
#42434E color codes
| HEX | #42434E | |
|---|---|---|
| RGB | rgb(66, 67, 78) | |
| RGB percent | rgb(25.9%, 26.3%, 30.6%) | |
| HSL | hsl(235, 8%, 28%) | |
| HSV / HSB | hsv(235, 15%, 31%) | |
| CMYK | cmyk(15%, 14%, 0%, 69%) | |
| CIE LAB | lab(28.7, 2.21, -6.75) | |
| CIE LCH | lch(28.7, 7.1, 288.17) | |
| CIE XYZ | xyz(5.629, 5.723, 8.014) | |
| Decimal | 4342606 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #42434E, 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 #42434E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.14:1 | Fail | Fail | Fail |
| Sample text | 9.79:1 | Pass | Pass | Pass |
| #42434E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.79:1 | Pass | Pass | Pass |
| Sample text | 2.14: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 #42434E looks to people with the most common types of color vision deficiency.
#40444fProtanopia
no red cones#40434eDeuteranopia
no green cones#3f4547Tritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #42434e; }
.text { color: #42434e; }
.border { border: 2px solid #42434e; }
.transparent { background-color: rgb(66 67 78 / 50%); }
.gradient { background: linear-gradient(to right, #42434e, #47424e); }
Similar colors
#41434eMidnight Serenade#3f4250Madonna#484753Gun Powder#424753Midnight Sky#3f4551Dark Crypt#3c4151Lava Stone#393f4bInkblot#494c55Deep Night
Closest common color name: Charcoal.
Questions
- What color is #42434E?
- #42434E 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 #42434E?
- The RGB value is 66, 67, 78: 66 red, 67 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #42434E?
- The complementary color is #4E4D42, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #42434E?
- White text. Black text has a contrast ratio of 2.14:1 and white text 9.79:1. WCAG asks for at least 4.5:1 for normal text.