#42504F color
The hex color #42504F is a dark, grayish cyan.
In the RGB color model it is made of 25.9% red, 31.4% green and 31% blue (66, 80, 79).
Its hue angle is 176°, with 10% saturation and 29% lightness. For print, the CMYK equivalent is 18% cyan, 0% magenta, 1% yellow and 69% black.
The closest named color is All Nighter (#455454), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.43:1).
#42504F color codes
| HEX | #42504F | |
|---|---|---|
| RGB | rgb(66, 80, 79) | |
| RGB percent | rgb(25.9%, 31.4%, 31%) | |
| HSL | hsl(176, 10%, 29%) | |
| HSV / HSB | hsv(176, 17%, 31%) | |
| CMYK | cmyk(18%, 0%, 1%, 69%) | |
| CIE LAB | lab(32.83, -5.74, -1.26) | |
| CIE LCH | lch(32.83, 5.87, 192.35) | |
| CIE XYZ | xyz(6.526, 7.46, 8.492) | |
| Decimal | 4345935 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #42504F, 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 #42504F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.49:1 | Fail | Fail | Fail |
| Sample text | 8.43:1 | Pass | Pass | Pass |
| #42504F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.43:1 | Pass | Pass | Pass |
| Sample text | 2.49: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 #42504F looks to people with the most common types of color vision deficiency.
#4e4e4fProtanopia
no red cones#4b4c4fDeuteranopia
no green cones#3e5150Tritanopia
no blue cones#4d4d4dAchromatopsia
no color vision
CSS examples
.background { background-color: #42504f; }
.text { color: #42504f; }
.border { border: 2px solid #42504f; }
.transparent { background-color: rgb(66 80 79 / 50%); }
.gradient { background: linear-gradient(to right, #42504f, #424a50); }
Similar colors
#455454All Nighter#424c4aUrban Chic#3c4f4eNight Watch#495252Dark as Night#445155Descent Into the Catacombs#444b4aMoonless Sky#414a4cDark Space#445055Obsidian
Closest common color name: Dark Slate Gray.
Questions
- What color is #42504F?
- #42504F is a dark, grayish cyan, closest to the named color All Nighter. It belongs to the gray family of colors.
- What is the RGB value of #42504F?
- The RGB value is 66, 80, 79: 66 red, 80 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #42504F?
- The complementary color is #504243, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #42504F?
- White text. Black text has a contrast ratio of 2.49:1 and white text 8.43:1. WCAG asks for at least 4.5:1 for normal text.