#5940BF - Royal Nightcore
Hex color #5940BF 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 | #5940BF | #5940BF |
| HEXA | #5940BFFF | #5940BFFF |
| RGB | 89, 64, 191 | rgb(89, 64, 191) |
| RGBA | 89, 64, 191, 1 | rgba(89, 64, 191, 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 #5940BF is #A6BF40.
Preview on black and white
As #5940BF has 50% lightness, this color is dark, so it has more contrast with white.
#5940BF On White Background
#5940BF
#5940BF
Text Color
This is how text looks with this color.
#5940BF On Black Background
#5940BF
#5940BF
Text Color
This is how text looks with this color.
Transform color
89, 64, 191rgb(89, 64, 191)