#2A3157 - Midnight Escapade
Hex color #2A3157 is called Midnight Escapade. It consists of 16% red, 19% green, and 34% blue in RGB color space. In CMYK it is 52% cyan, 44% magenta, 0% yellow, and 66% black. In HSL it is 231° hue, 35% 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 Escapade | — |
| HEX | #2A3157 | #2A3157 |
| HEXA | #2A3157FF | #2A3157FF |
| RGB | 42, 49, 87 | rgb(42, 49, 87) |
| RGBA | 42, 49, 87, 1 | rgba(42, 49, 87, 1) |
| HSL | 231%, 35%, 25% | hsl(231%, 35%, 25%) |
| CMYK | 52%, 44%, 0%, 66% | cmyk(52%, 44%, 0%, 66%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 25% (dark) | — |
Negative color
The color opposite to #2A3157 is #D5CEA8.
Preview on black and white
As #2A3157 has 25% lightness, this color is dark, so it has more contrast with white.
#2A3157 On White Background
#2A3157
#2A3157
Text Color
This is how text looks with this color.
#2A3157 On Black Background
#2A3157
#2A3157
Text Color
This is how text looks with this color.
Transform color
42, 49, 87rgb(42, 49, 87)