Skip to main content

#4040C5 - Royal Nightcore

Hex color #4040C5 is called Royal Nightcore. It consists of 25% red, 25% green, and 77% blue in RGB color space. In CMYK it is 68% cyan, 68% magenta, 0% yellow, and 23% black. In HSL it is 240° hue, 53% saturation, and 51% 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.

PropertyValueCSS
Name
Royal Nightcore
HEX
#4040C5
#4040C5
HEXA
#4040C5FF
#4040C5FF
RGB
64, 64, 197
rgb(64, 64, 197)
RGBA
64, 64, 197, 1
rgba(64, 64, 197, 1)
HSL
240%, 53%, 51%
hsl(240%, 53%, 51%)
CMYK
68%, 68%, 0%, 23%
cmyk(68%, 68%, 0%, 23%)
CSS Name
Tailwind Name
Lightness
51% (light)
As you see on the table, not all names are available for this color.
  • The closest color with CSS name is #6a5acd (slateblue)
  • The closest color with Tailwind name is #5e35b1 (deep-purple-600)

Tints of #4040C5

Shades of #4040C5

Monochromatic Colors of #4040C5

Triadic colors of #4040C5

Negative color

The color opposite to #4040C5 is #BFBF3A.

Preview on black and white

As #4040C5 has 51% lightness, this color is dark, so it has more contrast with white.

#4040C5 On White Background

#4040C5
#4040C5
Text Color

This is how text looks with this color.

#4040C5 On Black Background

#4040C5
#4040C5
Text Color

This is how text looks with this color.

Transform color

#4040C5
64, 64, 197
rgb(64, 64, 197)