#312156 - Stormy Night
Hex color #312156 is called Stormy Night. It consists of 19% red, 13% green, and 34% blue in RGB color space. In CMYK it is 43% cyan, 62% magenta, 0% yellow, and 66% black. In HSL it is 258° hue, 45% saturation, and 23% 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 | Stormy Night | — |
| HEX | #312156 | #312156 |
| HEXA | #312156FF | #312156FF |
| RGB | 49, 33, 86 | rgb(49, 33, 86) |
| RGBA | 49, 33, 86, 1 | rgba(49, 33, 86, 1) |
| HSL | 258%, 45%, 23% | hsl(258%, 45%, 23%) |
| CMYK | 43%, 62%, 0%, 66% | cmyk(43%, 62%, 0%, 66%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 23% (dark) | — |
Negative color
The color opposite to #312156 is #CEDEA9.
Preview on black and white
As #312156 has 23% lightness, this color is dark, so it has more contrast with white.
#312156 On White Background
#312156
#312156
Text Color
This is how text looks with this color.
#312156 On Black Background
#312156
#312156
Text Color
This is how text looks with this color.
Transform color
49, 33, 86rgb(49, 33, 86)