#040f4d Color Information

In a RGB color space, hex #040f4d is composed of 1.6% red, 5.9% green and 30.2% blue. Whereas in a CMYK color space, it is composed of 94.8% cyan, 80.5% magenta, 0% yellow and 69.8% black. It has a hue angle of 231 degrees, a saturation of 90.1% and a lightness of 15.9%. #040f4d color hex could be obtained by blending #081e9a with #000000. Closest websafe color is: #000066.

    • R 2
    • G 6
    • B 30
    RGB color chart
    • C 95
    • M 81
    • Y 0
    • K 70
    CMYK color chart

#040f4d color description : Very dark blue.

#040f4d Color Conversion

The hexadecimal color #040f4d has RGB values of R:4, G:15, B:77 and CMYK values of C:0.95, M:0.81, Y:0, K:0.7. Its decimal value is 266061.

Hex triplet 040f4d #040f4d
RGB Decimal 4, 15, 77 rgb(4,15,77)
RGB Percent 1.6, 5.9, 30.2 rgb(1.6%,5.9%,30.2%)
CMYK 95, 81, 0, 70
HSL 231°, 90.1, 15.9 hsl(231,90.1%,15.9%)
HSV (or HSB) 231°, 94.8, 30.2
Web Safe 000066 #000066
CIE-LAB 8.157, 22.946, -38.898
XYZ 1.56, 0.903, 7.113
xyY 0.163, 0.094, 0.903
CIE-LCH 8.157, 45.162, 300.536
CIE-LUV 8.157, -2.822, -26.014
Hunter-Lab 9.503, 12.673, -37.723
Binary 00000100, 00001111, 01001101

Color Schemes with #040f4d

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

Alternatives to #040f4d

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

Similar Colors

#040f4d Preview

Text with hexadecimal color #040f4d

This text has a font color of #040f4d.

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

This paragraph has a background color of #040f4d.

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

This element has a border color of #040f4d.

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

Shades and Tints of #040f4d

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

Shade Color Variation
Tint Color Variation

Tones of #040f4d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f4d 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.

  • #131313 Achromatopsia 0.005% of the population
  • #10121f Atypical Achromatopsia 0.001% of the population
  • #002243 Protanopia 1% of men
  • #00243a Deuteranopia 1% of men
  • #002729 Tritanopia 0.001% of the population
  • #011b47 Protanomaly 1% of men, 0.01% of women
  • #011c41 Deuteranomaly 6% of men, 0.4% of women
  • #011e36 Tritanomaly 0.01% of the population