#040f40 Color Information

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

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

#040f40 color description : Very dark blue.

#040f40 Color Conversion

The hexadecimal color #040f40 has RGB values of R:4, G:15, B:64 and CMYK values of C:0.94, M:0.77, Y:0, K:0.75. Its decimal value is 266048.

Hex triplet 040f40 #040f40
RGB Decimal 4, 15, 64 rgb(4,15,64)
RGB Percent 1.6, 5.9, 25.1 rgb(1.6%,5.9%,25.1%)
CMYK 94, 77, 0, 75
HSL 229°, 88.2, 13.3 hsl(229,88.2%,13.3%)
HSV (or HSB) 229°, 93.8, 25.1
Web Safe 000033 #000033
CIE-LAB 6.662, 16.975, -32.222
XYZ 1.146, 0.738, 4.932
xyY 0.168, 0.108, 0.738
CIE-LCH 6.662, 36.42, 297.781
CIE-LUV 6.662, -2.432, -19.274
Hunter-Lab 8.588, 8.793, -28.039
Binary 00000100, 00001111, 01000000

Color Schemes with #040f40

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

Alternatives to #040f40

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

Similar Colors

#040f40 Preview

Text with hexadecimal color #040f40

This text has a font color of #040f40.

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

This paragraph has a background color of #040f40.

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

This element has a border color of #040f40.

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

Shades and Tints of #040f40

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 #040f40

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f40 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
  • #111111 Achromatopsia 0.005% of the population
  • #0e111a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00203e Protanopia 1% of men
  • #002136 Deuteranopia 1% of men
  • #002426 Tritanopia 0.001% of the population
Trichromacy
  • #01193e Protanomaly 1% of men, 0.01% of women
  • #011b39 Deuteranomaly 6% of men, 0.4% of women
  • #011c2f Tritanomaly 0.01% of the population