#2A175F - Night Fog
Hex color #2A175F is called Night Fog. It consists of 16% red, 9% green, and 37% blue in RGB color space. In CMYK it is 56% cyan, 76% magenta, 0% yellow, and 63% black. In HSL it is 256° hue, 61% saturation, and 23% 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 | #2A175F | #2A175F |
| HEXA | #2A175FFF | #2A175FFF |
| RGB | 42, 23, 95 | rgb(42, 23, 95) |
| RGBA | 42, 23, 95, 1 | rgba(42, 23, 95, 1) |
| HSL | 256%, 61%, 23% | hsl(256%, 61%, 23%) |
| CMYK | 56%, 76%, 0%, 63% | cmyk(56%, 76%, 0%, 63%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 23% (dark) | — |
Negative color
The color opposite to #2A175F is #D5E8A0.
Preview on black and white
As #2A175F has 23% lightness, this color is dark, so it has more contrast with white.
#2A175F On White Background
#2A175F
#2A175F
Text Color
This is how text looks with this color.
#2A175F On Black Background
#2A175F
#2A175F
Text Color
This is how text looks with this color.
Transform color
42, 23, 95rgb(42, 23, 95)