#312888 - Cosmic Cobalt
Hex color #312888 is called Cosmic Cobalt. It consists of 19% red, 16% green, and 53% blue in RGB color space. In CMYK it is 64% cyan, 71% magenta, 0% yellow, and 47% black. In HSL it is 246° hue, 55% saturation, and 35% 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 | Cosmic Cobalt | — |
| HEX | #312888 | #312888 |
| HEXA | #312888FF | #312888FF |
| RGB | 49, 40, 136 | rgb(49, 40, 136) |
| RGBA | 49, 40, 136, 1 | rgba(49, 40, 136, 1) |
| HSL | 246%, 55%, 35% | hsl(246%, 55%, 35%) |
| CMYK | 64%, 71%, 0%, 47% | cmyk(64%, 71%, 0%, 47%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 35% (dark) | — |
Negative color
The color opposite to #312888 is #CED777.
Preview on black and white
As #312888 has 35% lightness, this color is dark, so it has more contrast with white.
#312888 On White Background
#312888
#312888
Text Color
This is how text looks with this color.
#312888 On Black Background
#312888
#312888
Text Color
This is how text looks with this color.
Transform color
49, 40, 136rgb(49, 40, 136)