#30228B - Cosmic Cobalt
Hex color #30228B is called Cosmic Cobalt. It consists of 19% red, 13% green, and 55% blue in RGB color space. In CMYK it is 65% cyan, 76% magenta, 0% yellow, and 45% black. In HSL it is 248° hue, 61% 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 | #30228B | #30228B |
| HEXA | #30228BFF | #30228BFF |
| RGB | 48, 34, 139 | rgb(48, 34, 139) |
| RGBA | 48, 34, 139, 1 | rgba(48, 34, 139, 1) |
| HSL | 248%, 61%, 34% | hsl(248%, 61%, 34%) |
| CMYK | 65%, 76%, 0%, 45% | cmyk(65%, 76%, 0%, 45%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 34% (dark) | — |
Negative color
The color opposite to #30228B is #CFDD74.
Preview on black and white
As #30228B has 34% lightness, this color is dark, so it has more contrast with white.
#30228B On White Background
#30228B
#30228B
Text Color
This is how text looks with this color.
#30228B On Black Background
#30228B
#30228B
Text Color
This is how text looks with this color.
Transform color
48, 34, 139rgb(48, 34, 139)