#040c38 Color Information

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

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

#040c38 color description : Very dark blue.

#040c38 Color Conversion

The hexadecimal color #040c38 has RGB values of R:4, G:12, B:56 and CMYK values of C:0.93, M:0.79, Y:0, K:0.78. Its decimal value is 265272.

Hex triplet 040c38 #040c38
RGB Decimal 4, 12, 56 rgb(4,12,56)
RGB Percent 1.6, 4.7, 22 rgb(1.6%,4.7%,22%)
CMYK 93, 79, 0, 78
HSL 230.8°, 86.7, 11.8 hsl(230.8,86.7%,11.8%)
HSV (or HSB) 230.8°, 92.9, 22
Web Safe 000033 #000033
CIE-LAB 5.187, 14.27, -28.857
XYZ 0.895, 0.574, 3.805
xyY 0.17, 0.109, 0.574
CIE-LCH 5.187, 32.193, 296.312
CIE-LUV 5.187, -1.8, -14.925
Hunter-Lab 7.578, 7.826, -24.466
Binary 00000100, 00001100, 00111000

Color Schemes with #040c38

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

Alternatives to #040c38

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

Similar Colors

#040c38 Preview

Text with hexadecimal color #040c38

This text has a font color of #040c38.

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

This paragraph has a background color of #040c38.

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

This element has a border color of #040c38.

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

Shades and Tints of #040c38

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 #eef0fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040c38

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c38 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
  • #0d0e17 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #001c38 Protanopia 1% of men
  • #001e30 Deuteranopia 1% of men
  • #002022 Tritanopia 0.001% of the population
Trichromacy
  • #011638 Protanomaly 1% of men, 0.01% of women
  • #011733 Deuteranomaly 6% of men, 0.4% of women
  • #01192a Tritanomaly 0.01% of the population