#1F213C - Midnight Express
Hex color #1F213C is called Midnight Express. It consists of 12% red, 13% green, and 24% blue in RGB color space. In CMYK it is 48% cyan, 45% magenta, 0% yellow, and 76% black. In HSL it is 236° hue, 32% saturation, and 18% 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 | #1F213C | #1F213C |
| HEXA | #1F213CFF | #1F213CFF |
| RGB | 31, 33, 60 | rgb(31, 33, 60) |
| RGBA | 31, 33, 60, 1 | rgba(31, 33, 60, 1) |
| HSL | 236%, 32%, 18% | hsl(236%, 32%, 18%) |
| CMYK | 48%, 45%, 0%, 76% | cmyk(48%, 45%, 0%, 76%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 18% (dark) | — |
Negative color
The color opposite to #1F213C is #E0DEC3.
Preview on black and white
As #1F213C has 18% lightness, this color is dark, so it has more contrast with white.
#1F213C On White Background
#1F213C
#1F213C
Text Color
This is how text looks with this color.
#1F213C On Black Background
#1F213C
#1F213C
Text Color
This is how text looks with this color.
Transform color
31, 33, 60rgb(31, 33, 60)