#040f38 Color Information

In a RGB color space, hex #040f38 is composed of 1.6% red, 5.9% green and 22% blue. Whereas in a CMYK color space, it is composed of 92.9% cyan, 73.2% magenta, 0% yellow and 78% black. It has a hue angle of 227.3 degrees, a saturation of 86.7% and a lightness of 11.8%. #040f38 color hex could be obtained by blending #081e70 with #000000. Closest websafe color is: #000033.

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

#040f38 color description : Very dark blue.

#040f38 Color Conversion

The hexadecimal color #040f38 has RGB values of R:4, G:15, B:56 and CMYK values of C:0.93, M:0.73, Y:0, K:0.78. Its decimal value is 266040.

Hex triplet 040f38 #040f38
RGB Decimal 4, 15, 56 rgb(4,15,56)
RGB Percent 1.6, 5.9, 22 rgb(1.6%,5.9%,22%)
CMYK 93, 73, 0, 78
HSL 227.3°, 86.7, 11.8 hsl(227.3,86.7%,11.8%)
HSV (or HSB) 227.3°, 92.9, 22
Web Safe 000033 #000033
CIE-LAB 5.898, 12.73, -27.707
XYZ 0.935, 0.653, 3.818
xyY 0.173, 0.121, 0.653
CIE-LCH 5.898, 30.491, 294.677
CIE-LUV 5.898, -2.248, -15.597
Hunter-Lab 8.08, 6.504, -22.358
Binary 00000100, 00001111, 00111000

Color Schemes with #040f38

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

Alternatives to #040f38

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

Similar Colors

#040f38 Preview

Text with hexadecimal color #040f38

This text has a font color of #040f38.

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

This paragraph has a background color of #040f38.

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

This element has a border color of #040f38.

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

Shades and Tints of #040f38

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

Shade Color Variation
Tint Color Variation

Tones of #040f38

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040f38 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
  • #101010 Achromatopsia 0.005% of the population
  • #0e1018 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #001e3b Protanopia 1% of men
  • #002033 Deuteranopia 1% of men
  • #002224 Tritanopia 0.001% of the population
Trichromacy
  • #01183a Protanomaly 1% of men, 0.01% of women
  • #011935 Deuteranomaly 6% of men, 0.4% of women
  • #011b2b Tritanomaly 0.01% of the population