#40406D - Overcast Night
Hex color #40406D is called Overcast Night. It consists of 25% red, 25% green, and 43% blue in RGB color space. In CMYK it is 41% cyan, 41% magenta, 0% yellow, and 57% black. In HSL it is 240° hue, 26% saturation, and 34% lightness (dark) . On this page you can get both color properties and CSS values for such color schemas: HEX, HEXA, RGB, RGBA, HSL, and CMYK; color name, CSS color name, tailwind name for color; shades and tints; monochromatic colors; negative color; and other info.
| Property | Value | CSS |
|---|---|---|
| Name | Overcast Night | — |
| HEX | #40406D | #40406D |
| HEXA | #40406DFF | #40406DFF |
| RGB | 64, 64, 109 | rgb(64, 64, 109) |
| RGBA | 64, 64, 109, 1 | rgba(64, 64, 109, 1) |
| HSL | 240%, 26%, 34% | hsl(240%, 26%, 34%) |
| CMYK | 41%, 41%, 0%, 57% | cmyk(41%, 41%, 0%, 57%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 34% (dark) | — |
Negative color
The color opposite to #40406D is #BFBF92.
Preview on black and white
As #40406D has 34% lightness, this color is dark, so it has more contrast with white.
#40406D On White Background
#40406D
#40406D
Text Color
This is how text looks with this color.
#40406D On Black Background
#40406D
#40406D
Text Color
This is how text looks with this color.
Transform color
64, 64, 109rgb(64, 64, 109)