#040f3a Color Information

In a RGB color space, hex #040f3a is composed of 1.6% red, 5.9% green and 22.7% blue. Whereas in a CMYK color space, it is composed of 93.1% cyan, 74.1% magenta, 0% yellow and 77.3% black. It has a hue angle of 227.8 degrees, a saturation of 87.1% and a lightness of 12.2%. #040f3a color hex could be obtained by blending #081e74 with #000000. Closest websafe color is: #000033.

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

#040f3a color description : Very dark blue.

#040f3a Color Conversion

The hexadecimal color #040f3a has RGB values of R:4, G:15, B:58 and CMYK values of C:0.93, M:0.74, Y:0, K:0.77. Its decimal value is 266042.

Hex triplet 040f3a #040f3a
RGB Decimal 4, 15, 58 rgb(4,15,58)
RGB Percent 1.6, 5.9, 22.7 rgb(1.6%,5.9%,22.7%)
CMYK 93, 74, 0, 77
HSL 227.8°, 87.1, 12.2 hsl(227.8,87.1%,12.2%)
HSV (or HSB) 227.8°, 93.1, 22.7
Web Safe 000033 #000033
CIE-LAB 6.078, 13.827, -28.865
XYZ 0.984, 0.673, 4.081
xyY 0.172, 0.117, 0.673
CIE-LCH 6.078, 32.006, 295.595
CIE-LUV 6.078, -2.29, -16.486
Hunter-Lab 8.203, 7.067, -23.753
Binary 00000100, 00001111, 00111010

Color Schemes with #040f3a

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

Alternatives to #040f3a

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

Similar Colors

#040f3a Preview

Text with hexadecimal color #040f3a

This text has a font color of #040f3a.

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

This paragraph has a background color of #040f3a.

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

This element has a border color of #040f3a.

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

Shades and Tints of #040f3a

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

Shade Color Variation
Tint Color Variation

Tones of #040f3a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f3a 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
  • #0e1119 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #001e3c Protanopia 1% of men
  • #002034 Deuteranopia 1% of men
  • #002224 Tritanopia 0.001% of the population
Trichromacy
  • #01193b Protanomaly 1% of men, 0.01% of women
  • #011a36 Deuteranomaly 6% of men, 0.4% of women
  • #011b2c Tritanomaly 0.01% of the population