#21283F - Midnight Express
Hex color #21283F is called Midnight Express. It consists of 13% red, 16% green, and 25% blue in RGB color space. In CMYK it is 48% cyan, 37% magenta, 0% yellow, and 75% black. In HSL it is 226° 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 | #21283F | #21283F |
| HEXA | #21283FFF | #21283FFF |
| RGB | 33, 40, 63 | rgb(33, 40, 63) |
| RGBA | 33, 40, 63, 1 | rgba(33, 40, 63, 1) |
| HSL | 226%, 31%, 19% | hsl(226%, 31%, 19%) |
| CMYK | 48%, 37%, 0%, 75% | cmyk(48%, 37%, 0%, 75%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 19% (dark) | — |
Negative color
The color opposite to #21283F is #DED7C0.
Preview on black and white
As #21283F has 19% lightness, this color is dark, so it has more contrast with white.
#21283F On White Background
#21283F
#21283F
Text Color
This is how text looks with this color.
#21283F On Black Background
#21283F
#21283F
Text Color
This is how text looks with this color.
Transform color
33, 40, 63rgb(33, 40, 63)