#040c80 Color Information

In a RGB color space, hex #040c80 is composed of 1.6% red, 4.7% green and 50.2% blue. Whereas in a CMYK color space, it is composed of 96.9% cyan, 90.6% magenta, 0% yellow and 49.8% black. It has a hue angle of 236.1 degrees, a saturation of 93.9% and a lightness of 25.9%. #040c80 color hex could be obtained by blending #0818ff with #000001. Closest websafe color is: #000099.

    • R 2
    • G 5
    • B 50
    RGB color chart
    • C 97
    • M 91
    • Y 0
    • K 50
    CMYK color chart

#040c80 color description : Dark blue.

#040c80 Color Conversion

The hexadecimal color #040c80 has RGB values of R:4, G:12, B:128 and CMYK values of C:0.97, M:0.91, Y:0, K:0.5. Its decimal value is 265344.

Hex triplet 040c80 #040c80
RGB Decimal 4, 12, 128 rgb(4,12,128)
RGB Percent 1.6, 4.7, 50.2 rgb(1.6%,4.7%,50.2%)
CMYK 97, 91, 0, 50
HSL 236.1°, 93.9, 25.9 hsl(236.1,93.9%,25.9%)
HSV (or HSB) 236.1°, 96.9, 50.2
Web Safe 000099 #000099
CIE-LAB 14.663, 42.861, -61.879
XYZ 4.077, 1.847, 20.563
xyY 0.154, 0.07, 1.847
CIE-LCH 14.663, 75.273, 304.709
CIE-LUV 14.663, -4.453, -55.373
Hunter-Lab 13.59, 29.767, -80.195
Binary 00000100, 00001100, 10000000

Color Schemes with #040c80

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

Alternatives to #040c80

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

Similar Colors

#040c80 Preview

Text with hexadecimal color #040c80

This text has a font color of #040c80.

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

This paragraph has a background color of #040c80.

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

This element has a border color of #040c80.

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

Shades and Tints of #040c80

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, #00010e is the darkest color, while #fafaff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040c80

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c80 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
  • #171717 Achromatopsia 0.005% of the population
  • #13152c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002f5b Protanopia 1% of men
  • #00314e Deuteranopia 1% of men
  • #003537 Tritanopia 0.001% of the population
Trichromacy
  • #012268 Protanomaly 1% of men, 0.01% of women
  • #012460 Deuteranomaly 6% of men, 0.4% of women
  • #012651 Tritanomaly 0.01% of the population