#031D6C - Midnight Melancholia
Hex color #031D6C is called Midnight Melancholia. It consists of 1% red, 11% green, and 42% blue in RGB color space. In CMYK it is 97% cyan, 73% magenta, 0% yellow, and 58% black. In HSL it is 225° hue, 95% saturation, and 22% 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 Melancholia | — |
| HEX | #031D6C | #031D6C |
| HEXA | #031D6CFF | #031D6CFF |
| RGB | 3, 29, 108 | rgb(3, 29, 108) |
| RGBA | 3, 29, 108, 1 | rgba(3, 29, 108, 1) |
| HSL | 225%, 95%, 22% | hsl(225%, 95%, 22%) |
| CMYK | 97%, 73%, 0%, 58% | cmyk(97%, 73%, 0%, 58%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 22% (dark) | — |
Negative color
The color opposite to #031D6C is #FCE293.
Preview on black and white
As #031D6C has 22% lightness, this color is dark, so it has more contrast with white.
#031D6C On White Background
#031D6C
#031D6C
Text Color
This is how text looks with this color.
#031D6C On Black Background
#031D6C
#031D6C
Text Color
This is how text looks with this color.
Transform color
3, 29, 108rgb(3, 29, 108)