#040746 - Night Blue
Hex color #040746 is called Night Blue. It consists of 2% red, 3% green, and 27% blue in RGB color space. In CMYK it is 94% cyan, 90% magenta, 0% yellow, and 73% black. In HSL it is 237° hue, 89% saturation, and 15% 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 | Night Blue | — |
| HEX | #040746 | #040746 |
| HEXA | #040746FF | #040746FF |
| RGB | 4, 7, 70 | rgb(4, 7, 70) |
| RGBA | 4, 7, 70, 1 | rgba(4, 7, 70, 1) |
| HSL | 237%, 89%, 15% | hsl(237%, 89%, 15%) |
| CMYK | 94%, 90%, 0%, 73% | cmyk(94%, 90%, 0%, 73%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 15% (dark) | — |
Negative color
The color opposite to #040746 is #FBF8B9.
Preview on black and white
As #040746 has 15% lightness, this color is dark, so it has more contrast with white.
#040746 On White Background
#040746
#040746
Text Color
This is how text looks with this color.
#040746 On Black Background
#040746
#040746
Text Color
This is how text looks with this color.
Transform color
4, 7, 70rgb(4, 7, 70)