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