#040c40 Color Information

In a RGB color space, hex #040c40 is composed of 1.6% red, 4.7% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 93.8% cyan, 81.3% magenta, 0% yellow and 74.9% black. It has a hue angle of 232 degrees, a saturation of 88.2% and a lightness of 13.3%. #040c40 color hex could be obtained by blending #081880 with #000000. Closest websafe color is: #000033.

    • R 2
    • G 5
    • B 25
    RGB color chart
    • C 94
    • M 81
    • Y 0
    • K 75
    CMYK color chart

#040c40 color description : Very dark blue.

#040c40 Color Conversion

The hexadecimal color #040c40 has RGB values of R:4, G:12, B:64 and CMYK values of C:0.94, M:0.81, Y:0, K:0.75. Its decimal value is 265280.

Hex triplet 040c40 #040c40
RGB Decimal 4, 12, 64 rgb(4,12,64)
RGB Percent 1.6, 4.7, 25.1 rgb(1.6%,4.7%,25.1%)
CMYK 94, 81, 0, 75
HSL 232°, 88.2, 13.3 hsl(232,88.2%,13.3%)
HSV (or HSB) 232°, 93.8, 25.1
Web Safe 000033 #000033
CIE-LAB 5.951, 18.712, -33.384
XYZ 1.107, 0.659, 4.919
xyY 0.166, 0.099, 0.659
CIE-LCH 5.951, 38.271, 299.271
CIE-LUV 5.951, -2.003, -18.416
Hunter-Lab 8.117, 10.135, -30.249
Binary 00000100, 00001100, 01000000

Color Schemes with #040c40

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

Alternatives to #040c40

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

Similar Colors

#040c40 Preview

Text with hexadecimal color #040c40

This text has a font color of #040c40.

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

This paragraph has a background color of #040c40.

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

This element has a border color of #040c40.

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

Shades and Tints of #040c40

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

Shade Color Variation
Tint Color Variation

Tones of #040c40

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c40 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
  • #101010 Achromatopsia 0.005% of the population
  • #0e0f1a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #001e3b Protanopia 1% of men
  • #002033 Deuteranopia 1% of men
  • #002224 Tritanopia 0.001% of the population
Trichromacy
  • #01173d Protanomaly 1% of men, 0.01% of women
  • #011838 Deuteranomaly 6% of men, 0.4% of women
  • #011a2e Tritanomaly 0.01% of the population