#42475B color
The hex color #42475B is a dark, grayish blue.
In the RGB color model it is made of 25.9% red, 27.8% green and 35.7% blue (66, 71, 91).
Its hue angle is 228°, with 16% saturation and 31% lightness. For print, the CMYK equivalent is 27% cyan, 22% magenta, 0% yellow and 64% black.
The closest named color is Lava Stone (#3C4151), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.19:1).
#42475B color codes
| HEX | #42475B | |
|---|---|---|
| RGB | rgb(66, 71, 91) | |
| RGB percent | rgb(25.9%, 27.8%, 35.7%) | |
| HSL | hsl(228, 16%, 31%) | |
| HSV / HSB | hsv(228, 27%, 36%) | |
| CMYK | cmyk(27%, 22%, 0%, 64%) | |
| CIE LAB | lab(30.45, 3.08, -12.49) | |
| CIE LCH | lch(30.45, 12.87, 283.85) | |
| CIE XYZ | xyz(6.388, 6.42, 10.798) | |
| Decimal | 4343643 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #42475B, 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 #42475B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.28:1 | Fail | Fail | Fail |
| Sample text | 9.19:1 | Pass | Pass | Pass |
| #42475B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.19:1 | Pass | Pass | Pass |
| Sample text | 2.28: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 #42475B looks to people with the most common types of color vision deficiency.
#41495cProtanopia
no red cones#3f475aDeuteranopia
no green cones#3c4b4eTritanopia
no blue cones#484848Achromatopsia
no color vision
CSS examples
.background { background-color: #42475b; }
.text { color: #42475b; }
.border { border: 2px solid #42475b; }
.transparent { background-color: rgb(66 71 91 / 50%); }
.gradient { background: linear-gradient(to right, #42475b, #4a425b); }
Similar colors
#3c4151Lava Stone#3f4250Madonna#424753Midnight Sky#484753Gun Powder#353f51Dark & Stormy#41434eMidnight Serenade#3f4551Dark Crypt#3a4866Bonne Nuit
Closest common color name: Charcoal.
Questions
- What color is #42475B?
- #42475B is a dark, grayish blue, closest to the named color Lava Stone. It belongs to the gray family of colors.
- What is the RGB value of #42475B?
- The RGB value is 66, 71, 91: 66 red, 71 green and 91 blue on a 0 to 255 scale.
- What is the complementary color of #42475B?
- The complementary color is #5B5642, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #42475B?
- White text. Black text has a contrast ratio of 2.28:1 and white text 9.19:1. WCAG asks for at least 4.5:1 for normal text.