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