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