#42415E color
The hex color #42415E is a dark, grayish blue.
In the RGB color model it is made of 25.9% red, 25.5% green and 36.9% blue (66, 65, 94).
Its hue angle is 242°, with 18% saturation and 31% lightness. For print, the CMYK equivalent is 30% cyan, 31% magenta, 0% yellow and 63% black.
The closest named color is Genie (#3E4364), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.77:1).
#42415E color codes
| HEX | #42415E | |
|---|---|---|
| RGB | rgb(66, 65, 94) | |
| RGB percent | rgb(25.9%, 25.5%, 36.9%) | |
| HSL | hsl(242, 18%, 31%) | |
| HSV / HSB | hsv(242, 31%, 37%) | |
| CMYK | cmyk(30%, 31%, 0%, 63%) | |
| CIE LAB | lab(28.76, 7.86, -17.01) | |
| CIE LCH | lch(28.76, 18.73, 294.79) | |
| CIE XYZ | xyz(6.157, 5.747, 11.372) | |
| Decimal | 4342110 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #42415E, 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 #42415E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.15:1 | Fail | Fail | Fail |
| Sample text | 9.77:1 | Pass | Pass | Pass |
| #42415E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.77:1 | Pass | Pass | Pass |
| Sample text | 2.15: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 #42415E looks to people with the most common types of color vision deficiency.
#39455fProtanopia
no red cones#38435dDeuteranopia
no green cones#3b464bTritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #42415e; }
.text { color: #42415e; }
.border { border: 2px solid #42415e; }
.transparent { background-color: rgb(66 65 94 / 50%); }
.gradient { background: linear-gradient(to right, #42415e, #51415e); }
Similar colors
#3e4364Genie#3d3d63Storm Is Coming#3f354fMaharaja#3b476bStarlit Night#2e3858Mediaeval Blue#4d516cIntergalactic#544563Nightly Walk#42364cCall It a Night
Closest common color name: Dark Slate Blue.
Questions
- What color is #42415E?
- #42415E is a dark, grayish blue, closest to the named color Genie. It belongs to the blue family of colors.
- What is the RGB value of #42415E?
- The RGB value is 66, 65, 94: 66 red, 65 green and 94 blue on a 0 to 255 scale.
- What is the complementary color of #42415E?
- The complementary color is #5D5E41, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #42415E?
- White text. Black text has a contrast ratio of 2.15:1 and white text 9.77:1. WCAG asks for at least 4.5:1 for normal text.