#40495C color
The hex color #40495C is a dark, grayish blue.
In the RGB color model it is made of 25.1% red, 28.6% green and 36.1% blue (64, 73, 92).
Its hue angle is 221°, with 18% saturation and 31% lightness. For print, the CMYK equivalent is 30% cyan, 21% magenta, 0% yellow and 64% black.
The closest named color is Silent Sea (#3A4A63), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.03:1).
#40495C color codes
| HEX | #40495C | |
|---|---|---|
| RGB | rgb(64, 73, 92) | |
| RGB percent | rgb(25.1%, 28.6%, 36.1%) | |
| HSL | hsl(221, 18%, 31%) | |
| HSV / HSB | hsv(221, 30%, 36%) | |
| CMYK | cmyk(30%, 21%, 0%, 64%) | |
| CIE LAB | lab(30.94, 1.37, -12.39) | |
| CIE LCH | lch(30.94, 12.47, 276.31) | |
| CIE XYZ | xyz(6.428, 6.628, 11.064) | |
| Decimal | 4213084 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40495C, 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 #40495C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.33:1 | Fail | Fail | Fail |
| Sample text | 9.03:1 | Pass | Pass | Pass |
| #40495C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.03:1 | Pass | Pass | Pass |
| Sample text | 2.33: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 #40495C looks to people with the most common types of color vision deficiency.
#434a5dProtanopia
no red cones#40485cDeuteranopia
no green cones#384d4fTritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #40495c; }
.text { color: #40495c; }
.border { border: 2px solid #40495c; }
.transparent { background-color: rgb(64 73 92 / 50%); }
.gradient { background: linear-gradient(to right, #40495c, #45405c); }
Similar colors
#3a4a63Silent Sea#3c4151Lava Stone#424753Midnight Sky#3f4551Dark Crypt#3e4855Starless Night#353f51Dark & Stormy#3f4250Madonna#425267Into the Stratosphere
Closest common color name: Charcoal.
Questions
- What color is #40495C?
- #40495C is a dark, grayish blue, closest to the named color Silent Sea. It belongs to the gray family of colors.
- What is the RGB value of #40495C?
- The RGB value is 64, 73, 92: 64 red, 73 green and 92 blue on a 0 to 255 scale.
- What is the complementary color of #40495C?
- The complementary color is #5C5340, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40495C?
- White text. Black text has a contrast ratio of 2.33:1 and white text 9.03:1. WCAG asks for at least 4.5:1 for normal text.