#1F293A - Midnight Express
Hex color #1F293A is called Midnight Express. It consists of 12% red, 16% green, and 23% blue in RGB color space. In CMYK it is 47% cyan, 29% magenta, 0% yellow, and 77% black. In HSL it is 218° hue, 30% saturation, and 17% 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 | #1F293A | #1F293A |
| HEXA | #1F293AFF | #1F293AFF |
| RGB | 31, 41, 58 | rgb(31, 41, 58) |
| RGBA | 31, 41, 58, 1 | rgba(31, 41, 58, 1) |
| HSL | 218%, 30%, 17% | hsl(218%, 30%, 17%) |
| CMYK | 47%, 29%, 0%, 77% | cmyk(47%, 29%, 0%, 77%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 17% (dark) | — |
Negative color
The color opposite to #1F293A is #E0D6C5.
Preview on black and white
As #1F293A has 17% lightness, this color is dark, so it has more contrast with white.
#1F293A On White Background
#1F293A
#1F293A
Text Color
This is how text looks with this color.
#1F293A On Black Background
#1F293A
#1F293A
Text Color
This is how text looks with this color.
Transform color
31, 41, 58rgb(31, 41, 58)