#313158 - Haunted Dreams
Hex color #313158 is called Haunted Dreams. It consists of 19% red, 19% green, and 35% blue in RGB color space. In CMYK it is 44% cyan, 44% magenta, 0% yellow, and 65% black. In HSL it is 240° hue, 28% saturation, and 27% 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 | Haunted Dreams | — |
| HEX | #313158 | #313158 |
| HEXA | #313158FF | #313158FF |
| RGB | 49, 49, 88 | rgb(49, 49, 88) |
| RGBA | 49, 49, 88, 1 | rgba(49, 49, 88, 1) |
| HSL | 240%, 28%, 27% | hsl(240%, 28%, 27%) |
| CMYK | 44%, 44%, 0%, 65% | cmyk(44%, 44%, 0%, 65%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 27% (dark) | — |
Negative color
The color opposite to #313158 is #CECEA7.
Preview on black and white
As #313158 has 27% lightness, this color is dark, so it has more contrast with white.
#313158 On White Background
#313158
#313158
Text Color
This is how text looks with this color.
#313158 On Black Background
#313158
#313158
Text Color
This is how text looks with this color.
Transform color
49, 49, 88rgb(49, 49, 88)