#5940BE - Royal Nightcore
Hex color #5940BE is called Royal Nightcore. It consists of 35% red, 25% green, and 75% blue in RGB color space. In CMYK it is 53% cyan, 66% magenta, 0% yellow, and 25% black. In HSL it is 252° hue, 50% saturation, and 50% 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 | #5940BE | #5940BE |
| HEXA | #5940BEFF | #5940BEFF |
| RGB | 89, 64, 190 | rgb(89, 64, 190) |
| RGBA | 89, 64, 190, 1 | rgba(89, 64, 190, 1) |
| HSL | 252%, 50%, 50% | hsl(252%, 50%, 50%) |
| CMYK | 53%, 66%, 0%, 25% | cmyk(53%, 66%, 0%, 25%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 50% (light) | — |
Negative color
The color opposite to #5940BE is #A6BF41.
Preview on black and white
As #5940BE has 50% lightness, this color is dark, so it has more contrast with white.
#5940BE On White Background
#5940BE
#5940BE
Text Color
This is how text looks with this color.
#5940BE On Black Background
#5940BE
#5940BE
Text Color
This is how text looks with this color.
Transform color
89, 64, 190rgb(89, 64, 190)