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