#021C8F - Bright Midnight
Hex color #021C8F is called Bright Midnight. It consists of 1% red, 11% green, and 56% blue in RGB color space. In CMYK it is 99% cyan, 80% magenta, 0% yellow, and 44% black. In HSL it is 229° hue, 97% saturation, and 28% 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 | Bright Midnight | — |
| HEX | #021C8F | #021C8F |
| HEXA | #021C8FFF | #021C8FFF |
| RGB | 2, 28, 143 | rgb(2, 28, 143) |
| RGBA | 2, 28, 143, 1 | rgba(2, 28, 143, 1) |
| HSL | 229%, 97%, 28% | hsl(229%, 97%, 28%) |
| CMYK | 99%, 80%, 0%, 44% | cmyk(99%, 80%, 0%, 44%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 28% (dark) | — |
Negative color
The color opposite to #021C8F is #FDE370.
Preview on black and white
As #021C8F has 28% lightness, this color is dark, so it has more contrast with white.
#021C8F On White Background
#021C8F
#021C8F
Text Color
This is how text looks with this color.
#021C8F On Black Background
#021C8F
#021C8F
Text Color
This is how text looks with this color.
Transform color
2, 28, 143rgb(2, 28, 143)