#2A1C62 - Night Fog
Hex color #2A1C62 is called Night Fog. It consists of 16% red, 11% green, and 38% blue in RGB color space. In CMYK it is 57% cyan, 71% magenta, 0% yellow, and 62% black. In HSL it is 252° hue, 56% 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 | Night Fog | — |
| HEX | #2A1C62 | #2A1C62 |
| HEXA | #2A1C62FF | #2A1C62FF |
| RGB | 42, 28, 98 | rgb(42, 28, 98) |
| RGBA | 42, 28, 98, 1 | rgba(42, 28, 98, 1) |
| HSL | 252%, 56%, 25% | hsl(252%, 56%, 25%) |
| CMYK | 57%, 71%, 0%, 62% | cmyk(57%, 71%, 0%, 62%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 25% (dark) | — |
Negative color
The color opposite to #2A1C62 is #D5E39D.
Preview on black and white
As #2A1C62 has 25% lightness, this color is dark, so it has more contrast with white.
#2A1C62 On White Background
#2A1C62
#2A1C62
Text Color
This is how text looks with this color.
#2A1C62 On Black Background
#2A1C62
#2A1C62
Text Color
This is how text looks with this color.
Transform color
42, 28, 98rgb(42, 28, 98)