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