#2A6791 - Starry Night
Hex color #2A6791 is called Starry Night. It consists of 16% red, 40% green, and 57% blue in RGB color space. In CMYK it is 71% cyan, 29% magenta, 0% yellow, and 43% black. In HSL it is 204° hue, 55% saturation, and 37% 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 | Starry Night | — |
| HEX | #2A6791 | #2A6791 |
| HEXA | #2A6791FF | #2A6791FF |
| RGB | 42, 103, 145 | rgb(42, 103, 145) |
| RGBA | 42, 103, 145, 1 | rgba(42, 103, 145, 1) |
| HSL | 204%, 55%, 37% | hsl(204%, 55%, 37%) |
| CMYK | 71%, 29%, 0%, 43% | cmyk(71%, 29%, 0%, 43%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 37% (dark) | — |
Negative color
The color opposite to #2A6791 is #D5986E.
Preview on black and white
As #2A6791 has 37% lightness, this color is dark, so it has more contrast with white.
#2A6791 On White Background
#2A6791
#2A6791
Text Color
This is how text looks with this color.
#2A6791 On Black Background
#2A6791
#2A6791
Text Color
This is how text looks with this color.
Transform color
42, 103, 145rgb(42, 103, 145)