#4040AD - Early Spring Night
Hex color #4040AD is called Early Spring Night. It consists of 25% red, 25% green, and 68% blue in RGB color space. In CMYK it is 63% cyan, 63% magenta, 0% yellow, and 32% black. In HSL it is 240° hue, 46% saturation, and 46% 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 | Early Spring Night | — |
| HEX | #4040AD | #4040AD |
| HEXA | #4040ADFF | #4040ADFF |
| RGB | 64, 64, 173 | rgb(64, 64, 173) |
| RGBA | 64, 64, 173, 1 | rgba(64, 64, 173, 1) |
| HSL | 240%, 46%, 46% | hsl(240%, 46%, 46%) |
| CMYK | 63%, 63%, 0%, 32% | cmyk(63%, 63%, 0%, 32%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 46% (dark) | — |
Negative color
The color opposite to #4040AD is #BFBF52.
Preview on black and white
As #4040AD has 46% lightness, this color is dark, so it has more contrast with white.
#4040AD On White Background
#4040AD
#4040AD
Text Color
This is how text looks with this color.
#4040AD On Black Background
#4040AD
#4040AD
Text Color
This is how text looks with this color.
Transform color
64, 64, 173rgb(64, 64, 173)