#2A186D - Nebula Night
Hex color #2A186D is called Nebula Night. It consists of 16% red, 9% green, and 43% blue in RGB color space. In CMYK it is 61% cyan, 78% magenta, 0% yellow, and 57% black. In HSL it is 253° hue, 64% 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 | Nebula Night | — |
| HEX | #2A186D | #2A186D |
| HEXA | #2A186DFF | #2A186DFF |
| RGB | 42, 24, 109 | rgb(42, 24, 109) |
| RGBA | 42, 24, 109, 1 | rgba(42, 24, 109, 1) |
| HSL | 253%, 64%, 26% | hsl(253%, 64%, 26%) |
| CMYK | 61%, 78%, 0%, 57% | cmyk(61%, 78%, 0%, 57%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 26% (dark) | — |
Negative color
The color opposite to #2A186D is #D5E792.
Preview on black and white
As #2A186D has 26% lightness, this color is dark, so it has more contrast with white.
#2A186D On White Background
#2A186D
#2A186D
Text Color
This is how text looks with this color.
#2A186D On Black Background
#2A186D
#2A186D
Text Color
This is how text looks with this color.
Transform color
42, 24, 109rgb(42, 24, 109)