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