#040c78 Color Information

In a RGB color space, hex #040c78 is composed of 1.6% red, 4.7% green and 47.1% blue. Whereas in a CMYK color space, it is composed of 96.7% cyan, 90% magenta, 0% yellow and 52.9% black. It has a hue angle of 235.9 degrees, a saturation of 93.5% and a lightness of 24.3%. #040c78 color hex could be obtained by blending #0818f0 with #000000. Closest websafe color is: #000066.

    • R 2
    • G 5
    • B 47
    RGB color chart
    • C 97
    • M 90
    • Y 0
    • K 53
    CMYK color chart

#040c78 color description : Dark blue.

#040c78 Color Conversion

The hexadecimal color #040c78 has RGB values of R:4, G:12, B:120 and CMYK values of C:0.97, M:0.9, Y:0, K:0.53. Its decimal value is 265336.

Hex triplet 040c78 #040c78
RGB Decimal 4, 12, 120 rgb(4,12,120)
RGB Percent 1.6, 4.7, 47.1 rgb(1.6%,4.7%,47.1%)
CMYK 97, 90, 0, 53
HSL 235.9°, 93.5, 24.3 hsl(235.9,93.5%,24.3%)
HSV (or HSB) 235.9°, 96.7, 47.1
Web Safe 000066 #000066
CIE-LAB 13.499, 40.313, -58.697
XYZ 3.571, 1.645, 17.897
xyY 0.155, 0.071, 1.645
CIE-LCH 13.499, 71.207, 304.482
CIE-LUV 13.499, -4.124, -50.485
Hunter-Lab 12.824, 27.264, -73.77
Binary 00000100, 00001100, 01111000

Color Schemes with #040c78

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #040c78

Below, you can see some colors close to #040c78. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#040c78 Preview

Text with hexadecimal color #040c78

This text has a font color of #040c78.

<span style="color:#040c78;">Text here</span>
#040c78 background color

This paragraph has a background color of #040c78.

<p style="background-color:#040c78;">Content here</p>
#040c78 border color

This element has a border color of #040c78.

<div style="border:1px solid #040c78;">Content here</div>
CSS codes
.text {color:#040c78;}
.background {background-color:#040c78;}
.border {border:1px solid #040c78;}

Shades and Tints of #040c78

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #000106 is the darkest color, while #f2f3ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040c78

A tone is produced by adding gray to any pure hue. In this case, #3d3d3f is the less saturated color, while #040c78 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c78 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy
  • #161616 Achromatopsia 0.005% of the population
  • #12142a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002c56 Protanopia 1% of men
  • #002f4a Deuteranopia 1% of men
  • #003234 Tritanopia 0.001% of the population
Trichromacy
  • #012062 Protanomaly 1% of men, 0.01% of women
  • #01225b Deuteranomaly 6% of men, 0.4% of women
  • #01244d Tritanomaly 0.01% of the population