#040c79 Color Information

In a RGB color space, hex #040c79 is composed of 1.6% red, 4.7% green and 47.5% blue. Whereas in a CMYK color space, it is composed of 96.7% cyan, 90.1% magenta, 0% yellow and 52.5% black. It has a hue angle of 235.9 degrees, a saturation of 93.6% and a lightness of 24.5%. #040c79 color hex could be obtained by blending #0818f2 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

#040c79 color description : Dark blue.

#040c79 Color Conversion

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

Hex triplet 040c79 #040c79
RGB Decimal 4, 12, 121 rgb(4,12,121)
RGB Percent 1.6, 4.7, 47.5 rgb(1.6%,4.7%,47.5%)
CMYK 97, 90, 0, 53
HSL 235.9°, 93.6, 24.5 hsl(235.9,93.6%,24.5%)
HSV (or HSB) 235.9°, 96.7, 47.5
Web Safe 000066 #000066
CIE-LAB 13.644, 40.636, -59.098
XYZ 3.632, 1.669, 18.219
xyY 0.154, 0.071, 1.669
CIE-LCH 13.644, 71.721, 304.512
CIE-LUV 13.644, -4.165, -51.096
Hunter-Lab 12.919, 27.576, -74.571
Binary 00000100, 00001100, 01111001

Color Schemes with #040c79

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

Alternatives to #040c79

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

Similar Colors

#040c79 Preview

Text with hexadecimal color #040c79

This text has a font color of #040c79.

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

This paragraph has a background color of #040c79.

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

This element has a border color of #040c79.

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

Shades and Tints of #040c79

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, #000107 is the darkest color, while #f3f4ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040c79

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c79 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
  • #002d57 Protanopia 1% of men
  • #002f4b Deuteranopia 1% of men
  • #003235 Tritanopia 0.001% of the population
Trichromacy
  • #012163 Protanomaly 1% of men, 0.01% of women
  • #01225b Deuteranomaly 6% of men, 0.4% of women
  • #01244d Tritanomaly 0.01% of the population