#404059 color
The hex color #404059 is a dark, grayish blue.
In the RGB color model it is made of 25.1% red, 25.1% green and 34.9% blue (64, 64, 89).
Its hue angle is 240°, with 16% saturation and 30% lightness. For print, the CMYK equivalent is 28% cyan, 28% magenta, 0% yellow and 65% black.
The closest named color is Genie (#3E4364), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.02:1).
#404059 color codes
| HEX | #404059 | |
|---|---|---|
| RGB | rgb(64, 64, 89) | |
| RGB percent | rgb(25.1%, 25.1%, 34.9%) | |
| HSL | hsl(240, 16%, 30%) | |
| HSV / HSB | hsv(240, 28%, 35%) | |
| CMYK | cmyk(28%, 28%, 0%, 65%) | |
| CIE LAB | lab(28.06, 6.39, -14.89) | |
| CIE LCH | lch(28.06, 16.2, 293.24) | |
| CIE XYZ | xyz(5.75, 5.478, 10.204) | |
| Decimal | 4210777 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404059, 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 #404059 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.1:1 | Fail | Fail | Fail |
| Sample text | 10.02:1 | Pass | Pass | Pass |
| #404059 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.02:1 | Pass | Pass | Pass |
| Sample text | 2.1: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 #404059 looks to people with the most common types of color vision deficiency.
#39435aProtanopia
no red cones#384158Deuteranopia
no green cones#3a4449Tritanopia
no blue cones#424242Achromatopsia
no color vision
CSS examples
.background { background-color: #404059; }
.text { color: #404059; }
.border { border: 2px solid #404059; }
.transparent { background-color: rgb(64 64 89 / 50%); }
.gradient { background: linear-gradient(to right, #404059, #4d4059); }
Similar colors
#3e4364Genie#3d3d63Storm Is Coming#413d4bItalian Grape#2e3858Mediaeval Blue#3c4151Lava Stone#3f354fMaharaja#333344Shuriken#3f4250Madonna
Closest common color name: Charcoal.
Questions
- What color is #404059?
- #404059 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 #404059?
- The RGB value is 64, 64, 89: 64 red, 64 green and 89 blue on a 0 to 255 scale.
- What is the complementary color of #404059?
- The complementary color is #595940, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404059?
- White text. Black text has a contrast ratio of 2.1:1 and white text 10.02:1. WCAG asks for at least 4.5:1 for normal text.