#040d40 Color Information

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

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

#040d40 color description : Very dark blue.

#040d40 Color Conversion

The hexadecimal color #040d40 has RGB values of R:4, G:13, B:64 and CMYK values of C:0.94, M:0.8, Y:0, K:0.75. Its decimal value is 265536.

Hex triplet 040d40 #040d40
RGB Decimal 4, 13, 64 rgb(4,13,64)
RGB Percent 1.6, 5.1, 25.1 rgb(1.6%,5.1%,25.1%)
CMYK 94, 80, 0, 75
HSL 231°, 88.2, 13.3 hsl(231,88.2%,13.3%)
HSV (or HSB) 231°, 93.8, 25.1
Web Safe 000033 #000033
CIE-LAB 6.176, 18.166, -33.016
XYZ 1.119, 0.684, 4.923
xyY 0.166, 0.102, 0.684
CIE-LCH 6.176, 37.684, 298.82
CIE-LUV 6.176, -2.136, -18.705
Hunter-Lab 8.269, 9.69, -29.512
Binary 00000100, 00001101, 01000000

Color Schemes with #040d40

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

Alternatives to #040d40

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

Similar Colors

#040d40 Preview

Text with hexadecimal color #040d40

This text has a font color of #040d40.

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

This paragraph has a background color of #040d40.

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

This element has a border color of #040d40.

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

Shades and Tints of #040d40

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 #f5f7fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040d40

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040d40 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
  • #001f3c Protanopia 1% of men
  • #002034 Deuteranopia 1% of men
  • #002324 Tritanopia 0.001% of the population
Trichromacy
  • #01183d Protanomaly 1% of men, 0.01% of women
  • #011938 Deuteranomaly 6% of men, 0.4% of women
  • #011b2e Tritanomaly 0.01% of the population