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