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