#40495C closest to Starless Night
#40495C is a dark gray; the closest named color is Starless Night. In the RGB color model it is made of 25.1% red, 28.6% green and 36.1% blue (rgb(64, 73, 92)). Its HSL value is 221° hue, 18% saturation and 31% lightness, and in CMYK it is 30% cyan, 21% magenta, 0% yellow and 64% black. #40495C is a neutral color. White text reads best on it, with a contrast ratio of 9.03:1.
#40495C color conversion
- HEX
- RGB
- HSL
- HSB / HSV
- HWB
- CMYK
- XYZ
- CIELAB
- CIELCh
- CIELUV
- OKLCH
Variations of #40495C
Shades
Mixed with black: richer and darker.
Tints
Mixed with white: lighter and softer.
Tones
Mixed with gray: calmer and more muted.
Hues
The same lightness and chroma, rotated around the color wheel.
Temperatures
Cooler on the left, warmer on the right.
#40495C color harmonies
Split complementary
The two hues next to the complement — contrast with less tension.
Open in generator →#40495C for color-blind viewers (and dogs)
How #40495C appears with each type of color vision deficiency (Machado 2009 model) — and to your dog. Try the dog vision simulator →
- Dog vision 99% similarHow dogs see it · simulated as #40485C
- Protanopia 99% similar1.3% of men, 0.02% of women · simulated as #434A5D
- Protanomaly 99% similar1.3% of men, 0.02% of women · simulated as #424A5D
- Deuteranopia 99% similar1.2% of men, 0.01% of women · simulated as #40485C
- Deuteranomaly 99% similar5% of men, 0.35% of women · simulated as #40485C
- Tritanopia 94% similar0.001% of men, 0.03% of women · simulated as #384D4F
- Tritanomaly 97% similar0.0001% of men, 0.0001% of women · simulated as #3D4B56
- Achromatopsia 93% similar0.003% of men, 0.003% of women · simulated as #494949
- Achromatomaly 95% similar0.001% of men, 0.001% of women · simulated as #47494E
#40495C contrast checker
Need another background? Pick any pair in the palette generator and open the contrast panel.
Colors similar to #40495C
Palettes with #40495C
- D0E3E18B6872414A5B2D281ECBB2B8Mountain Dew to Cold Turkey
- 3A3228444B5AA78383B7C8D94C73728CAEB0Creole to Harbour Mist
- 3B49586A523A6C7D93BBA98DB4C6D9F0E7DAStarless Night to Creamy
- CACBF1A0A5747E7A95625E3346475C1E1C11Frozen Periwinkle to Noir Mystique
- F6E0EAB3B2D4858E6F69775E47485EPork Belly to Gun Powder
- 26371A374A5C6C7959D38F96E8B7C5Darkest Forest to Chantilly
#40495C in CSS
/* Starless Night */
.color { color: #40495C; }
.background { background-color: #40495C; }
.border { border: 1px solid #40495C; }
/* Other notations */
color: rgb(64 73 92);
color: hsl(221 18% 31%);
color: oklch(0.405 0.034 265.0);#40495C FAQ
What color is #40495C?
#40495C is a dark gray. Its closest named color is Starless Night. It belongs to the gray color family and is a neutral color.
What is the RGB value of #40495C?
#40495C is rgb(64, 73, 92) in RGB, hsl(221, 18%, 31%) in HSL and cmyk(30%, 21%, 0%, 64%) in CMYK.
What is the complementary color of #40495C?
The complementary color of #40495C is #5C5340, which sits opposite it on the color wheel.
Which text color works on #40495C?
White text has the best contrast on #40495C: 9.03:1, which meets the WCAG AA requirement of 4.5:1 for normal text.
Is #40495C a warm or cool color?
#40495C is a neutral color.