#040f39 Color Information

In a RGB color space, hex #040f39 is composed of 1.6% red, 5.9% green and 22.4% blue. Whereas in a CMYK color space, it is composed of 93% cyan, 73.7% magenta, 0% yellow and 77.6% black. It has a hue angle of 227.5 degrees, a saturation of 86.9% and a lightness of 12%. #040f39 color hex could be obtained by blending #081e72 with #000000. Closest websafe color is: #000033.

    • R 2
    • G 6
    • B 22
    RGB color chart
    • C 93
    • M 74
    • Y 0
    • K 78
    CMYK color chart

#040f39 color description : Very dark blue.

#040f39 Color Conversion

The hexadecimal color #040f39 has RGB values of R:4, G:15, B:57 and CMYK values of C:0.93, M:0.74, Y:0, K:0.78. Its decimal value is 266041.

Hex triplet 040f39 #040f39
RGB Decimal 4, 15, 57 rgb(4,15,57)
RGB Percent 1.6, 5.9, 22.4 rgb(1.6%,5.9%,22.4%)
CMYK 93, 74, 0, 78
HSL 227.5°, 86.9, 12 hsl(227.5,86.9%,12%)
HSV (or HSB) 227.5°, 93, 22.4
Web Safe 000033 #000033
CIE-LAB 5.987, 13.281, -28.288
XYZ 0.959, 0.663, 3.948
xyY 0.172, 0.119, 0.663
CIE-LCH 5.987, 31.251, 295.15
CIE-LUV 5.987, -2.268, -16.039
Hunter-Lab 8.141, 6.785, -23.054
Binary 00000100, 00001111, 00111001

Color Schemes with #040f39

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

Alternatives to #040f39

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

Similar Colors

#040f39 Preview

Text with hexadecimal color #040f39

This text has a font color of #040f39.

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

This paragraph has a background color of #040f39.

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

This element has a border color of #040f39.

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

Shades and Tints of #040f39

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

Shade Color Variation
Tint Color Variation

Tones of #040f39

A tone is produced by adding gray to any pure hue. In this case, #1e1e1f is the less saturated color, while #020e3b is the most saturated one.

Tone Color Variation

Color Blindness Simulator

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

  • #101010 Achromatopsia 0.005% of the population
  • #0e1018 Atypical Achromatopsia 0.001% of the population
  • #001e3b Protanopia 1% of men
  • #002033 Deuteranopia 1% of men
  • #002224 Tritanopia 0.001% of the population
  • #01183a Protanomaly 1% of men, 0.01% of women
  • #011a35 Deuteranomaly 6% of men, 0.4% of women
  • #011b2b Tritanomaly 0.01% of the population