#404A58 color
The hex color #404A58 is a dark, grayish azure.
In the RGB color model it is made of 25.1% red, 29% green and 34.5% blue (64, 74, 88).
Its hue angle is 215°, with 16% saturation and 30% lightness. For print, the CMYK equivalent is 27% cyan, 16% magenta, 0% yellow and 65% black.
The closest named color is Starless Night (#3E4855), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.98:1).
#404A58 color codes
| HEX | #404A58 | |
|---|---|---|
| RGB | rgb(64, 74, 88) | |
| RGB percent | rgb(25.1%, 29%, 34.5%) | |
| HSL | hsl(215, 16%, 30%) | |
| HSV / HSB | hsv(215, 27%, 35%) | |
| CMYK | cmyk(27%, 16%, 0%, 65%) | |
| CIE LAB | lab(31.1, -0.39, -9.6) | |
| CIE LCH | lch(31.1, 9.61, 267.69) | |
| CIE XYZ | xyz(6.324, 6.692, 10.189) | |
| Decimal | 4213336 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404A58, 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 #404A58 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.34:1 | Fail | Fail | Fail |
| Sample text | 8.98:1 | Pass | Pass | Pass |
| #404A58 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.98:1 | Pass | Pass | Pass |
| Sample text | 2.34: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 #404A58 looks to people with the most common types of color vision deficiency.
#454a59Protanopia
no red cones#434858Deuteranopia
no green cones#3a4d4fTritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #404a58; }
.text { color: #404a58; }
.border { border: 2px solid #404a58; }
.transparent { background-color: rgb(64 74 88 / 50%); }
.gradient { background: linear-gradient(to right, #404a58, #424058); }
Similar colors
#3e4855Starless Night#3f4551Dark Crypt#404c57Abyssal#424753Midnight Sky#494d55Isolation#494c55Deep Night#393f4bInkblot#425267Into the Stratosphere
Closest common color name: Charcoal.
Questions
- What color is #404A58?
- #404A58 is a dark, grayish azure, closest to the named color Starless Night. It belongs to the gray family of colors.
- What is the RGB value of #404A58?
- The RGB value is 64, 74, 88: 64 red, 74 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #404A58?
- The complementary color is #584E40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404A58?
- White text. Black text has a contrast ratio of 2.34:1 and white text 8.98:1. WCAG asks for at least 4.5:1 for normal text.