#040f4f Color Information

In a RGB color space, hex #040f4f is composed of 1.6% red, 5.9% green and 31% blue. Whereas in a CMYK color space, it is composed of 94.9% cyan, 81% magenta, 0% yellow and 69% black. It has a hue angle of 231.2 degrees, a saturation of 90.4% and a lightness of 16.3%. #040f4f color hex could be obtained by blending #081e9e with #000000. Closest websafe color is: #000066.

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

#040f4f color description : Very dark blue.

#040f4f Color Conversion

The hexadecimal color #040f4f has RGB values of R:4, G:15, B:79 and CMYK values of C:0.95, M:0.81, Y:0, K:0.69. Its decimal value is 266063.

Hex triplet 040f4f #040f4f
RGB Decimal 4, 15, 79 rgb(4,15,79)
RGB Percent 1.6, 5.9, 31 rgb(1.6%,5.9%,31%)
CMYK 95, 81, 0, 69
HSL 231.2°, 90.4, 16.3 hsl(231.2,90.4%,16.3%)
HSV (or HSB) 231.2°, 94.9, 31
Web Safe 000066 #000066
CIE-LAB 8.41, 23.773, -39.863
XYZ 1.632, 0.932, 7.491
xyY 0.162, 0.093, 0.932
CIE-LCH 8.41, 46.413, 300.81
CIE-LUV 8.41, -2.89, -27.126
Hunter-Lab 9.653, 13.282, -39.25
Binary 00000100, 00001111, 01001111

Color Schemes with #040f4f

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

Alternatives to #040f4f

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

Similar Colors

#040f4f Preview

Text with hexadecimal color #040f4f

This text has a font color of #040f4f.

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

This paragraph has a background color of #040f4f.

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

This element has a border color of #040f4f.

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

Shades and Tints of #040f4f

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

Shade Color Variation
Tint Color Variation

Tones of #040f4f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f4f 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
  • #131313 Achromatopsia 0.005% of the population
  • #10121f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002344 Protanopia 1% of men
  • #00253b Deuteranopia 1% of men
  • #002729 Tritanopia 0.001% of the population
Trichromacy
  • #011b48 Protanomaly 1% of men, 0.01% of women
  • #011d42 Deuteranomaly 6% of men, 0.4% of women
  • #011e37 Tritanomaly 0.01% of the population