#040d87 Color Information

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

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

#040d87 color description : Dark blue.

#040d87 Color Conversion

The hexadecimal color #040d87 has RGB values of R:4, G:13, B:135 and CMYK values of C:0.97, M:0.9, Y:0, K:0.47. Its decimal value is 265607.

Hex triplet 040d87 #040d87
RGB Decimal 4, 13, 135 rgb(4,13,135)
RGB Percent 1.6, 5.1, 52.9 rgb(1.6%,5.1%,52.9%)
CMYK 97, 90, 0, 47
HSL 235.9°, 94.2, 27.3 hsl(235.9,94.2%,27.3%)
HSV (or HSB) 235.9°, 97, 52.9
Web Safe 000099 #000099
CIE-LAB 15.812, 44.644, -64.397
XYZ 4.566, 2.063, 23.078
xyY 0.154, 0.069, 2.063
CIE-LCH 15.812, 78.358, 304.732
CIE-LUV 15.812, -4.821, -59.839
Hunter-Lab 14.362, 31.621, -85.22
Binary 00000100, 00001101, 10000111

Color Schemes with #040d87

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

Alternatives to #040d87

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

Similar Colors

#040d87 Preview

Text with hexadecimal color #040d87

This text has a font color of #040d87.

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

This paragraph has a background color of #040d87.

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

This element has a border color of #040d87.

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

Shades and Tints of #040d87

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 #040d87

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040d87 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
  • #00315f Protanopia 1% of men
  • #003452 Deuteranopia 1% of men
  • #003739 Tritanopia 0.001% of the population
Trichromacy
  • #01246d Protanomaly 1% of men, 0.01% of women
  • #012565 Deuteranomaly 6% of men, 0.4% of women
  • #012855 Tritanomaly 0.01% of the population