#2B166B - Nebula Night
Hex color #2B166B is called Nebula Night. It consists of 17% red, 9% green, and 42% blue in RGB color space. In CMYK it is 60% cyan, 79% magenta, 0% yellow, and 58% black. In HSL it is 255° hue, 66% 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 | #2B166B | #2B166B |
| HEXA | #2B166BFF | #2B166BFF |
| RGB | 43, 22, 107 | rgb(43, 22, 107) |
| RGBA | 43, 22, 107, 1 | rgba(43, 22, 107, 1) |
| HSL | 255%, 66%, 25% | hsl(255%, 66%, 25%) |
| CMYK | 60%, 79%, 0%, 58% | cmyk(60%, 79%, 0%, 58%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 25% (dark) | — |
Negative color
The color opposite to #2B166B is #D4E994.
Preview on black and white
As #2B166B has 25% lightness, this color is dark, so it has more contrast with white.
#2B166B On White Background
#2B166B
#2B166B
Text Color
This is how text looks with this color.
#2B166B On Black Background
#2B166B
#2B166B
Text Color
This is how text looks with this color.
Transform color
43, 22, 107rgb(43, 22, 107)