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