#4040CF - Royal Nightcore
Hex color #4040CF is called Royal Nightcore. It consists of 25% red, 25% green, and 81% blue in RGB color space. In CMYK it is 69% cyan, 69% magenta, 0% yellow, and 19% black. In HSL it is 240° hue, 60% saturation, and 53% lightness (light) . 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 | Royal Nightcore | — |
| HEX | #4040CF | #4040CF |
| HEXA | #4040CFFF | #4040CFFF |
| RGB | 64, 64, 207 | rgb(64, 64, 207) |
| RGBA | 64, 64, 207, 1 | rgba(64, 64, 207, 1) |
| HSL | 240%, 60%, 53% | hsl(240%, 60%, 53%) |
| CMYK | 69%, 69%, 0%, 19% | cmyk(69%, 69%, 0%, 19%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 53% (light) | — |
Negative color
The color opposite to #4040CF is #BFBF30.
Preview on black and white
As #4040CF has 53% lightness, this color is dark, so it has more contrast with white.
#4040CF On White Background
#4040CF
#4040CF
Text Color
This is how text looks with this color.
#4040CF On Black Background
#4040CF
#4040CF
Text Color
This is how text looks with this color.
Transform color
64, 64, 207rgb(64, 64, 207)