#2A2545 - Midnight Velvet
Hex color #2A2545 is called Midnight Velvet. It consists of 16% red, 15% green, and 27% blue in RGB color space. In CMYK it is 39% cyan, 46% magenta, 0% yellow, and 73% black. In HSL it is 249° hue, 30% saturation, and 21% 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 Velvet | — |
| HEX | #2A2545 | #2A2545 |
| HEXA | #2A2545FF | #2A2545FF |
| RGB | 42, 37, 69 | rgb(42, 37, 69) |
| RGBA | 42, 37, 69, 1 | rgba(42, 37, 69, 1) |
| HSL | 249%, 30%, 21% | hsl(249%, 30%, 21%) |
| CMYK | 39%, 46%, 0%, 73% | cmyk(39%, 46%, 0%, 73%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 21% (dark) | — |
Negative color
The color opposite to #2A2545 is #D5DABA.
Preview on black and white
As #2A2545 has 21% lightness, this color is dark, so it has more contrast with white.
#2A2545 On White Background
#2A2545
#2A2545
Text Color
This is how text looks with this color.
#2A2545 On Black Background
#2A2545
#2A2545
Text Color
This is how text looks with this color.
Transform color
42, 37, 69rgb(42, 37, 69)