#21273E - Midnight Express
Hex color #21273E is called Midnight Express. It consists of 13% red, 15% green, and 24% blue in RGB color space. In CMYK it is 47% cyan, 37% magenta, 0% yellow, and 76% black. In HSL it is 228° hue, 31% saturation, and 19% 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 Express | — |
| HEX | #21273E | #21273E |
| HEXA | #21273EFF | #21273EFF |
| RGB | 33, 39, 62 | rgb(33, 39, 62) |
| RGBA | 33, 39, 62, 1 | rgba(33, 39, 62, 1) |
| HSL | 228%, 31%, 19% | hsl(228%, 31%, 19%) |
| CMYK | 47%, 37%, 0%, 76% | cmyk(47%, 37%, 0%, 76%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 19% (dark) | — |
Negative color
The color opposite to #21273E is #DED8C1.
Preview on black and white
As #21273E has 19% lightness, this color is dark, so it has more contrast with white.
#21273E On White Background
#21273E
#21273E
Text Color
This is how text looks with this color.
#21273E On Black Background
#21273E
#21273E
Text Color
This is how text looks with this color.
Transform color
33, 39, 62rgb(33, 39, 62)