Skip to main content

#31258B - Cosmic Cobalt

Hex color #31258B is called Cosmic Cobalt. It consists of 19% red, 15% green, and 55% blue in RGB color space. In CMYK it is 65% cyan, 73% magenta, 0% yellow, and 45% black. In HSL it is 247° hue, 58% 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.

PropertyValueCSS
Name
Cosmic Cobalt
HEX
#31258B
#31258B
HEXA
#31258BFF
#31258BFF
RGB
49, 37, 139
rgb(49, 37, 139)
RGBA
49, 37, 139, 1
rgba(49, 37, 139, 1)
HSL
247%, 58%, 35%
hsl(247%, 58%, 35%)
CMYK
65%, 73%, 0%, 45%
cmyk(65%, 73%, 0%, 45%)
CSS Name
Tailwind Name
Lightness
35% (dark)
As you see on the table, not all names are available for this color.
  • The closest color with CSS name is #191970 (midnightblue)
  • The closest color with Tailwind name is #1a237e (indigo-900)

Tints of #31258B

Shades of #31258B

Monochromatic Colors of #31258B

Triadic colors of #31258B

Negative color

The color opposite to #31258B is #CEDA74.

Preview on black and white

As #31258B has 35% lightness, this color is dark, so it has more contrast with white.

#31258B On White Background

#31258B
#31258B
Text Color

This is how text looks with this color.

#31258B On Black Background

#31258B
#31258B
Text Color

This is how text looks with this color.

Transform color

#31258B
49, 37, 139
rgb(49, 37, 139)