#2A2A96 - Royal Night
Hex color #2A2A96 is called Royal Night. It consists of 16% red, 16% green, and 59% blue in RGB color space. In CMYK it is 72% cyan, 72% magenta, 0% yellow, and 41% black. In HSL it is 240° hue, 56% saturation, and 38% lightness (dark) . 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 Night | — |
| HEX | #2A2A96 | #2A2A96 |
| HEXA | #2A2A96FF | #2A2A96FF |
| RGB | 42, 42, 150 | rgb(42, 42, 150) |
| RGBA | 42, 42, 150, 1 | rgba(42, 42, 150, 1) |
| HSL | 240%, 56%, 38% | hsl(240%, 56%, 38%) |
| CMYK | 72%, 72%, 0%, 41% | cmyk(72%, 72%, 0%, 41%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 38% (dark) | — |
Negative color
The color opposite to #2A2A96 is #D5D569.
Preview on black and white
As #2A2A96 has 38% lightness, this color is dark, so it has more contrast with white.
#2A2A96 On White Background
#2A2A96
#2A2A96
Text Color
This is how text looks with this color.
#2A2A96 On Black Background
#2A2A96
#2A2A96
Text Color
This is how text looks with this color.
Transform color
42, 42, 150rgb(42, 42, 150)