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