#504A90 - Moonlight Sonata
Hex color #504A90 is called Moonlight Sonata. It consists of 31% red, 29% green, and 56% blue in RGB color space. In CMYK it is 44% cyan, 49% magenta, 0% yellow, and 44% black. In HSL it is 245° hue, 32% saturation, and 43% 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 | Moonlight Sonata | — |
| HEX | #504A90 | #504A90 |
| HEXA | #504A90FF | #504A90FF |
| RGB | 80, 74, 144 | rgb(80, 74, 144) |
| RGBA | 80, 74, 144, 1 | rgba(80, 74, 144, 1) |
| HSL | 245%, 32%, 43% | hsl(245%, 32%, 43%) |
| CMYK | 44%, 49%, 0%, 44% | cmyk(44%, 49%, 0%, 44%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 43% (dark) | — |
Negative color
The color opposite to #504A90 is #AFB56F.
Preview on black and white
As #504A90 has 43% lightness, this color is dark, so it has more contrast with white.
#504A90 On White Background
#504A90
#504A90
Text Color
This is how text looks with this color.
#504A90 On Black Background
#504A90
#504A90
Text Color
This is how text looks with this color.
Transform color
80, 74, 144rgb(80, 74, 144)