#040f2a Color Information

In a RGB color space, hex #040f2a is composed of 1.6% red, 5.9% green and 16.5% blue. Whereas in a CMYK color space, it is composed of 90.5% cyan, 64.3% magenta, 0% yellow and 83.5% black. It has a hue angle of 222.6 degrees, a saturation of 82.6% and a lightness of 9%. #040f2a color hex could be obtained by blending #081e54 with #000000. Closest websafe color is: #000033.

    • R 2
    • G 6
    • B 16
    RGB color chart
    • C 90
    • M 64
    • Y 0
    • K 84
    CMYK color chart

#040f2a color description : Very dark (mostly black) blue.

#040f2a Color Conversion

The hexadecimal color #040f2a has RGB values of R:4, G:15, B:42 and CMYK values of C:0.9, M:0.64, Y:0, K:0.84. Its decimal value is 266026.

Hex triplet 040f2a #040f2a
RGB Decimal 4, 15, 42 rgb(4,15,42)
RGB Percent 1.6, 5.9, 16.5 rgb(1.6%,5.9%,16.5%)
CMYK 90, 64, 0, 84
HSL 222.6°, 82.6, 9 hsl(222.6,82.6%,9%)
HSV (or HSB) 222.6°, 90.5, 16.5
Web Safe 000033 #000033
CIE-LAB 4.829, 5.351, -19.051
XYZ 0.639, 0.535, 2.26
xyY 0.186, 0.156, 0.535
CIE-LCH 4.829, 19.789, 285.688
CIE-LUV 4.829, -2.03, -9.835
Hunter-Lab 7.312, 2.798, -13.208
Binary 00000100, 00001111, 00101010

Color Schemes with #040f2a

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

Alternatives to #040f2a

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

Similar Colors

#040f2a Preview

Text with hexadecimal color #040f2a

This text has a font color of #040f2a.

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

This paragraph has a background color of #040f2a.

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

This element has a border color of #040f2a.

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

Shades and Tints of #040f2a

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

Shade Color Variation
Tint Color Variation

Tones of #040f2a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f2a 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
  • #0f0f0f Achromatopsia 0.005% of the population
  • #0d0f14 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #091b35 Protanopia 1% of men
  • #001d30 Deuteranopia 1% of men
  • #001f21 Tritanopia 0.001% of the population
Trichromacy
  • #071731 Protanomaly 1% of men, 0.01% of women
  • #01182e Deuteranomaly 6% of men, 0.4% of women
  • #011924 Tritanomaly 0.01% of the population