#342D80 - Cosmic Cobalt
Hex color #342D80 is called Cosmic Cobalt. It consists of 20% red, 18% green, and 50% blue in RGB color space. In CMYK it is 59% cyan, 65% magenta, 0% yellow, and 50% black. In HSL it is 245° hue, 48% 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 | #342D80 | #342D80 |
| HEXA | #342D80FF | #342D80FF |
| RGB | 52, 45, 128 | rgb(52, 45, 128) |
| RGBA | 52, 45, 128, 1 | rgba(52, 45, 128, 1) |
| HSL | 245%, 48%, 34% | hsl(245%, 48%, 34%) |
| CMYK | 59%, 65%, 0%, 50% | cmyk(59%, 65%, 0%, 50%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 34% (dark) | — |
Negative color
The color opposite to #342D80 is #CBD27F.
Preview on black and white
As #342D80 has 34% lightness, this color is dark, so it has more contrast with white.
#342D80 On White Background
#342D80
#342D80
Text Color
This is how text looks with this color.
#342D80 On Black Background
#342D80
#342D80
Text Color
This is how text looks with this color.
Transform color
52, 45, 128rgb(52, 45, 128)