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