#342D52 - Midnight Pie
Hex color #342D52 is called Midnight Pie. It consists of 20% red, 18% green, and 32% blue in RGB color space. In CMYK it is 37% cyan, 45% magenta, 0% yellow, and 68% black. In HSL it is 251° hue, 29% saturation, and 25% 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 Pie | — |
| HEX | #342D52 | #342D52 |
| HEXA | #342D52FF | #342D52FF |
| RGB | 52, 45, 82 | rgb(52, 45, 82) |
| RGBA | 52, 45, 82, 1 | rgba(52, 45, 82, 1) |
| HSL | 251%, 29%, 25% | hsl(251%, 29%, 25%) |
| CMYK | 37%, 45%, 0%, 68% | cmyk(37%, 45%, 0%, 68%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 25% (dark) | — |
Negative color
The color opposite to #342D52 is #CBD2AD.
Preview on black and white
As #342D52 has 25% lightness, this color is dark, so it has more contrast with white.
#342D52 On White Background
#342D52
#342D52
Text Color
This is how text looks with this color.
#342D52 On Black Background
#342D52
#342D52
Text Color
This is how text looks with this color.
Transform color
52, 45, 82rgb(52, 45, 82)