#22228A - Cosmic Cobalt
Hex color #22228A is called Cosmic Cobalt. It consists of 13% red, 13% green, and 54% blue in RGB color space. In CMYK it is 75% cyan, 75% magenta, 0% yellow, and 46% black. In HSL it is 240° hue, 60% 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 | #22228A | #22228A |
| HEXA | #22228AFF | #22228AFF |
| RGB | 34, 34, 138 | rgb(34, 34, 138) |
| RGBA | 34, 34, 138, 1 | rgba(34, 34, 138, 1) |
| HSL | 240%, 60%, 34% | hsl(240%, 60%, 34%) |
| CMYK | 75%, 75%, 0%, 46% | cmyk(75%, 75%, 0%, 46%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 34% (dark) | — |
Negative color
The color opposite to #22228A is #DDDD75.
Preview on black and white
As #22228A has 34% lightness, this color is dark, so it has more contrast with white.
#22228A On White Background
#22228A
#22228A
Text Color
This is how text looks with this color.
#22228A On Black Background
#22228A
#22228A
Text Color
This is how text looks with this color.
Transform color
34, 34, 138rgb(34, 34, 138)