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