#40505E - Midnight Haze
Hex color #40505E is called Midnight Haze. It consists of 25% red, 31% green, and 37% blue in RGB color space. In CMYK it is 32% cyan, 15% magenta, 0% yellow, and 63% black. In HSL it is 208° hue, 19% saturation, and 31% 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 | Midnight Haze | — |
| HEX | #40505E | #40505E |
| HEXA | #40505EFF | #40505EFF |
| RGB | 64, 80, 94 | rgb(64, 80, 94) |
| RGBA | 64, 80, 94, 1 | rgba(64, 80, 94, 1) |
| HSL | 208%, 19%, 31% | hsl(208%, 19%, 31%) |
| CMYK | 32%, 15%, 0%, 63% | cmyk(32%, 15%, 0%, 63%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 31% (dark) | — |
Negative color
The color opposite to #40505E is #BFAFA1.
Preview on black and white
As #40505E has 31% lightness, this color is dark, so it has more contrast with white.
#40505E On White Background
#40505E
#40505E
Text Color
This is how text looks with this color.
#40505E On Black Background
#40505E
#40505E
Text Color
This is how text looks with this color.
Transform color
64, 80, 94rgb(64, 80, 94)