Skip to main content

#040A78 - Major Tom

Hex color #040A78 is called Major Tom. It consists of 2% red, 4% green, and 47% blue in RGB color space. In CMYK it is 97% cyan, 92% magenta, 0% yellow, and 53% black. In HSL it is 237° hue, 94% saturation, and 24% 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
Major Tom
HEX
#040A78
#040A78
HEXA
#040A78FF
#040A78FF
RGB
4, 10, 120
rgb(4, 10, 120)
RGBA
4, 10, 120, 1
rgba(4, 10, 120, 1)
HSL
237%, 94%, 24%
hsl(237%, 94%, 24%)
CMYK
97%, 92%, 0%, 53%
cmyk(97%, 92%, 0%, 53%)
CSS Name
Tailwind Name
Lightness
24% (dark)
As you see on the table, not all names are available for this color.
  • The closest color with CSS name is #000080 (navy)
  • The closest color with Tailwind name is #311b92 (deep-purple-900)

Tints of #040A78

Shades of #040A78

Monochromatic Colors of #040A78

Triadic colors of #040A78

Negative color

The color opposite to #040A78 is #FBF587.

Preview on black and white

As #040A78 has 24% lightness, this color is dark, so it has more contrast with white.

#040A78 On White Background

#040A78
#040A78
Text Color

This is how text looks with this color.

#040A78 On Black Background

#040A78
#040A78
Text Color

This is how text looks with this color.

Transform color

#040A78
4, 10, 120
rgb(4, 10, 120)