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