#51488A - Moonlight Sonata
Hex color #51488A is called Moonlight Sonata. It consists of 32% red, 28% green, and 54% blue in RGB color space. In CMYK it is 41% cyan, 48% magenta, 0% yellow, and 46% black. In HSL it is 248° hue, 31% saturation, and 41% 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 | #51488A | #51488A |
| HEXA | #51488AFF | #51488AFF |
| RGB | 81, 72, 138 | rgb(81, 72, 138) |
| RGBA | 81, 72, 138, 1 | rgba(81, 72, 138, 1) |
| HSL | 248%, 31%, 41% | hsl(248%, 31%, 41%) |
| CMYK | 41%, 48%, 0%, 46% | cmyk(41%, 48%, 0%, 46%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 41% (dark) | — |
Negative color
The color opposite to #51488A is #AEB775.
Preview on black and white
As #51488A has 41% lightness, this color is dark, so it has more contrast with white.
#51488A On White Background
#51488A
#51488A
Text Color
This is how text looks with this color.
#51488A On Black Background
#51488A
#51488A
Text Color
This is how text looks with this color.
Transform color
81, 72, 138rgb(81, 72, 138)