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