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