#040540 Color Information

In a RGB color space, hex #040540 is composed of 1.6% red, 2% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 93.8% cyan, 92.2% magenta, 0% yellow and 74.9% black. It has a hue angle of 239 degrees, a saturation of 88.2% and a lightness of 13.3%. #040540 color hex could be obtained by blending #080a80 with #000000. Closest websafe color is: #000033.

    • R 2
    • G 2
    • B 25
    RGB color chart
    • C 94
    • M 92
    • Y 0
    • K 75
    CMYK color chart

#040540 color description : Very dark blue.

#040540 Color Conversion

The hexadecimal color #040540 has RGB values of R:4, G:5, B:64 and CMYK values of C:0.94, M:0.92, Y:0, K:0.75. Its decimal value is 263488.

Hex triplet 040540 #040540
RGB Decimal 4, 5, 64 rgb(4,5,64)
RGB Percent 1.6, 2, 25.1 rgb(1.6%,2%,25.1%)
CMYK 94, 92, 0, 75
HSL 239°, 88.2, 13.3 hsl(239,88.2%,13.3%)
HSV (or HSB) 239°, 93.8, 25.1
Web Safe 000033 #000033
CIE-LAB 4.557, 22.025, -35.664
XYZ 1.03, 0.504, 4.893
xyY 0.16, 0.078, 0.504
CIE-LCH 4.557, 41.917, 301.698
CIE-LUV 4.557, -1.239, -16.188
Hunter-Lab 7.102, 13.446, -35.877
Binary 00000100, 00000101, 01000000

Color Schemes with #040540

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

Alternatives to #040540

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

Similar Colors

#040540 Preview

Text with hexadecimal color #040540

This text has a font color of #040540.

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

This paragraph has a background color of #040540.

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

This element has a border color of #040540.

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

Shades and Tints of #040540

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

Shade Color Variation
Tint Color Variation

Tones of #040540

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040540 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
  • #0b0b0b Achromatopsia 0.005% of the population
  • #0a0a16 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #001b35 Protanopia 1% of men
  • #001c2d Deuteranopia 1% of men
  • #001e20 Tritanopia 0.001% of the population
Trichromacy
  • #011339 Protanomaly 1% of men, 0.01% of women
  • #011434 Deuteranomaly 6% of men, 0.4% of women
  • #01152b Tritanomaly 0.01% of the population