#040c87 Color Information

In a RGB color space, hex #040c87 is composed of 1.6% red, 4.7% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 97% cyan, 91.1% magenta, 0% yellow and 47.1% black. It has a hue angle of 236.3 degrees, a saturation of 94.2% and a lightness of 27.3%. #040c87 color hex could be obtained by blending #0818ff with #00000f. Closest websafe color is: #000099.

    • R 2
    • G 5
    • B 53
    RGB color chart
    • C 97
    • M 91
    • Y 0
    • K 47
    CMYK color chart

#040c87 color description : Dark blue.

#040c87 Color Conversion

The hexadecimal color #040c87 has RGB values of R:4, G:12, B:135 and CMYK values of C:0.97, M:0.91, Y:0, K:0.47. Its decimal value is 265351.

Hex triplet 040c87 #040c87
RGB Decimal 4, 12, 135 rgb(4,12,135)
RGB Percent 1.6, 4.7, 52.9 rgb(1.6%,4.7%,52.9%)
CMYK 97, 91, 0, 47
HSL 236.3°, 94.2, 27.3 hsl(236.3,94.2%,27.3%)
HSV (or HSB) 236.3°, 97, 52.9
Web Safe 000099 #000099
CIE-LAB 15.684, 45.033, -64.611
XYZ 4.554, 2.038, 23.074
xyY 0.154, 0.069, 2.038
CIE-LCH 15.684, 78.756, 304.876
CIE-LUV 15.684, -4.743, -59.652
Hunter-Lab 14.275, 31.963, -85.844
Binary 00000100, 00001100, 10000111

Color Schemes with #040c87

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

Alternatives to #040c87

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

Similar Colors

#040c87 Preview

Text with hexadecimal color #040c87

This text has a font color of #040c87.

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

This paragraph has a background color of #040c87.

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

This element has a border color of #040c87.

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

Shades and Tints of #040c87

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

Shade Color Variation
Tint Color Variation

Tones of #040c87

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040c87 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
  • #181818 Achromatopsia 0.005% of the population
  • #14162e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00305e Protanopia 1% of men
  • #003351 Deuteranopia 1% of men
  • #003739 Tritanopia 0.001% of the population
Trichromacy
  • #01236d Protanomaly 1% of men, 0.01% of women
  • #012565 Deuteranomaly 6% of men, 0.4% of women
  • #012755 Tritanomaly 0.01% of the population