#2F185E - Night Fog
Hex color #2F185E is called Night Fog. It consists of 18% red, 9% green, and 37% blue in RGB color space. In CMYK it is 50% cyan, 74% magenta, 0% yellow, and 63% black. In HSL it is 260° hue, 59% 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 | #2F185E | #2F185E |
| HEXA | #2F185EFF | #2F185EFF |
| RGB | 47, 24, 94 | rgb(47, 24, 94) |
| RGBA | 47, 24, 94, 1 | rgba(47, 24, 94, 1) |
| HSL | 260%, 59%, 23% | hsl(260%, 59%, 23%) |
| CMYK | 50%, 74%, 0%, 63% | cmyk(50%, 74%, 0%, 63%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 23% (dark) | — |
Negative color
The color opposite to #2F185E is #D0E7A1.
Preview on black and white
As #2F185E has 23% lightness, this color is dark, so it has more contrast with white.
#2F185E On White Background
#2F185E
#2F185E
Text Color
This is how text looks with this color.
#2F185E On Black Background
#2F185E
#2F185E
Text Color
This is how text looks with this color.
Transform color
47, 24, 94rgb(47, 24, 94)