#021F3C - Midnight Mirage
Hex color #021F3C is called Midnight Mirage. It consists of 1% red, 12% green, and 24% blue in RGB color space. In CMYK it is 97% cyan, 48% magenta, 0% yellow, and 76% black. In HSL it is 210° hue, 94% saturation, and 12% 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 Mirage | — |
| HEX | #021F3C | #021F3C |
| HEXA | #021F3CFF | #021F3CFF |
| RGB | 2, 31, 60 | rgb(2, 31, 60) |
| RGBA | 2, 31, 60, 1 | rgba(2, 31, 60, 1) |
| HSL | 210%, 94%, 12% | hsl(210%, 94%, 12%) |
| CMYK | 97%, 48%, 0%, 76% | cmyk(97%, 48%, 0%, 76%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 12% (dark) | — |
Negative color
The color opposite to #021F3C is #FDE0C3.
Preview on black and white
As #021F3C has 12% lightness, this color is dark, so it has more contrast with white.
#021F3C On White Background
#021F3C
#021F3C
Text Color
This is how text looks with this color.
#021F3C On Black Background
#021F3C
#021F3C
Text Color
This is how text looks with this color.
Transform color
2, 31, 60rgb(2, 31, 60)