#050236 - Midnight Blue
Hex color #050236 is called Midnight Blue. It consists of 2% red, 1% green, and 21% blue in RGB color space. In CMYK it is 91% cyan, 96% magenta, 0% yellow, and 79% black. In HSL it is 243° hue, 93% saturation, and 11% 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 Blue | — |
| HEX | #050236 | #050236 |
| HEXA | #050236FF | #050236FF |
| RGB | 5, 2, 54 | rgb(5, 2, 54) |
| RGBA | 5, 2, 54, 1 | rgba(5, 2, 54, 1) |
| HSL | 243%, 93%, 11% | hsl(243%, 93%, 11%) |
| CMYK | 91%, 96%, 0%, 79% | cmyk(91%, 96%, 0%, 79%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 11% (dark) | — |
Negative color
The color opposite to #050236 is #FAFDC9.
Preview on black and white
As #050236 has 11% lightness, this color is dark, so it has more contrast with white.
#050236 On White Background
#050236
#050236
Text Color
This is how text looks with this color.
#050236 On Black Background
#050236
#050236
Text Color
This is how text looks with this color.
Transform color
5, 2, 54rgb(5, 2, 54)