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