#403E55 color
The hex color #403E55 is a dark, grayish blue.
In the RGB color model it is made of 25.1% red, 24.3% green and 33.3% blue (64, 62, 85).
Its hue angle is 245°, with 16% saturation and 29% lightness. For print, the CMYK equivalent is 25% cyan, 27% magenta, 0% yellow and 67% black.
The closest named color is Italian Grape (#413D4B), a difference of 4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.3:1).
#403E55 color codes
| HEX | #403E55 | |
|---|---|---|
| RGB | rgb(64, 62, 85) | |
| RGB percent | rgb(25.1%, 24.3%, 33.3%) | |
| HSL | hsl(245, 16%, 29%) | |
| HSV / HSB | hsv(245, 27%, 33%) | |
| CMYK | cmyk(25%, 27%, 0%, 67%) | |
| CIE LAB | lab(27.27, 6.6, -13.49) | |
| CIE LCH | lch(27.27, 15.02, 296.06) | |
| CIE XYZ | xyz(5.476, 5.191, 9.306) | |
| Decimal | 4210261 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #403E55, 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 #403E55 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.04:1 | Fail | Fail | Fail |
| Sample text | 10.3:1 | Pass | Pass | Pass |
| #403E55 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.3:1 | Pass | Pass | Pass |
| Sample text | 2.04: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 #403E55 looks to people with the most common types of color vision deficiency.
#384156Protanopia
no red cones#384054Deuteranopia
no green cones#3b4246Tritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #403e55; }
.text { color: #403e55; }
.border { border: 2px solid #403e55; }
.transparent { background-color: rgb(64 62 85 / 50%); }
.gradient { background: linear-gradient(to right, #403e55, #4c3e55); }
Similar colors
#413d4bItalian Grape#3f354fMaharaja#3e4364Genie#333344Shuriken#42364cCall It a Night#403547Royal Decree#3d3d63Storm Is Coming#3c4151Lava Stone
Closest common color name: Eggplant.
Questions
- What color is #403E55?
- #403E55 is a dark, grayish blue, closest to the named color Italian Grape. It belongs to the blue family of colors.
- What is the RGB value of #403E55?
- The RGB value is 64, 62, 85: 64 red, 62 green and 85 blue on a 0 to 255 scale.
- What is the complementary color of #403E55?
- The complementary color is #53553E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #403E55?
- White text. Black text has a contrast ratio of 2.04:1 and white text 10.3:1. WCAG asks for at least 4.5:1 for normal text.