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