#403E5D color
The hex color #403E5D is a dark, grayish blue.
In the RGB color model it is made of 25.1% red, 24.3% green and 36.5% blue (64, 62, 93).
Its hue angle is 244°, with 20% saturation and 30% lightness. For print, the CMYK equivalent is 31% cyan, 33% magenta, 0% yellow and 64% black.
The closest named color is Storm Is Coming (#3D3D63), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.17:1).
#403E5D color codes
| HEX | #403E5D | |
|---|---|---|
| RGB | rgb(64, 62, 93) | |
| RGB percent | rgb(25.1%, 24.3%, 36.5%) | |
| HSL | hsl(244, 20%, 30%) | |
| HSV / HSB | hsv(244, 33%, 36%) | |
| CMYK | cmyk(31%, 33%, 0%, 64%) | |
| CIE LAB | lab(27.64, 8.87, -18.12) | |
| CIE LCH | lch(27.64, 20.17, 296.1) | |
| CIE XYZ | xyz(5.812, 5.325, 11.075) | |
| Decimal | 4210269 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #403E5D, 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 #403E5D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.07:1 | Fail | Fail | Fail |
| Sample text | 10.17:1 | Pass | Pass | Pass |
| #403E5D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.17:1 | Pass | Pass | Pass |
| Sample text | 2.07: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 #403E5D looks to people with the most common types of color vision deficiency.
#35425eProtanopia
no red cones#35405cDeuteranopia
no green cones#394449Tritanopia
no blue cones#414141Achromatopsia
no color vision
CSS examples
.background { background-color: #403e5d; }
.text { color: #403e5d; }
.border { border: 2px solid #403e5d; }
.transparent { background-color: rgb(64 62 93 / 50%); }
.gradient { background: linear-gradient(to right, #403e5d, #4f3e5d); }
Similar colors
#3d3d63Storm Is Coming#3e4364Genie#3f354fMaharaja#2e3858Mediaeval Blue#2b3458Midnight Escapade#42364cCall It a Night#3b476bStarlit Night#4a3b6aMeteorite
Closest common color name: Dark Slate Blue.
Questions
- What color is #403E5D?
- #403E5D is a dark, grayish blue, closest to the named color Storm Is Coming. It belongs to the blue family of colors.
- What is the RGB value of #403E5D?
- The RGB value is 64, 62, 93: 64 red, 62 green and 93 blue on a 0 to 255 scale.
- What is the complementary color of #403E5D?
- The complementary color is #5B5D3E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #403E5D?
- White text. Black text has a contrast ratio of 2.07:1 and white text 10.17:1. WCAG asks for at least 4.5:1 for normal text.