#5A588E - Midnight Sea
Hex color #5A588E is called Midnight Sea. It consists of 35% red, 35% green, and 56% blue in RGB color space. In CMYK it is 37% cyan, 38% magenta, 0% yellow, and 44% black. In HSL it is 242° hue, 23% saturation, and 45% 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 | Midnight Sea | — |
| HEX | #5A588E | #5A588E |
| HEXA | #5A588EFF | #5A588EFF |
| RGB | 90, 88, 142 | rgb(90, 88, 142) |
| RGBA | 90, 88, 142, 1 | rgba(90, 88, 142, 1) |
| HSL | 242%, 23%, 45% | hsl(242%, 23%, 45%) |
| CMYK | 37%, 38%, 0%, 44% | cmyk(37%, 38%, 0%, 44%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 45% (dark) | — |
Negative color
The color opposite to #5A588E is #A5A771.
Preview on black and white
As #5A588E has 45% lightness, this color is dark, so it has more contrast with white.
#5A588E On White Background
#5A588E
#5A588E
Text Color
This is how text looks with this color.
#5A588E On Black Background
#5A588E
#5A588E
Text Color
This is how text looks with this color.
Transform color
90, 88, 142rgb(90, 88, 142)