#2D156B - Nebula Night
Hex color #2D156B is called Nebula Night. It consists of 18% red, 8% green, and 42% blue in RGB color space. In CMYK it is 58% cyan, 80% magenta, 0% yellow, and 58% black. In HSL it is 257° hue, 67% 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 | Nebula Night | — |
| HEX | #2D156B | #2D156B |
| HEXA | #2D156BFF | #2D156BFF |
| RGB | 45, 21, 107 | rgb(45, 21, 107) |
| RGBA | 45, 21, 107, 1 | rgba(45, 21, 107, 1) |
| HSL | 257%, 67%, 25% | hsl(257%, 67%, 25%) |
| CMYK | 58%, 80%, 0%, 58% | cmyk(58%, 80%, 0%, 58%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 25% (dark) | — |
Negative color
The color opposite to #2D156B is #D2EA94.
Preview on black and white
As #2D156B has 25% lightness, this color is dark, so it has more contrast with white.
#2D156B On White Background
#2D156B
#2D156B
Text Color
This is how text looks with this color.
#2D156B On Black Background
#2D156B
#2D156B
Text Color
This is how text looks with this color.
Transform color
45, 21, 107rgb(45, 21, 107)