#040020 Color Information

In a RGB color space, hex #040020 is composed of 1.6% red, 0% green and 12.5% blue. Whereas in a CMYK color space, it is composed of 87.5% cyan, 100% magenta, 0% yellow and 87.5% black. It has a hue angle of 247.5 degrees, a saturation of 100% and a lightness of 6.3%. #040020 color hex could be obtained by blending #080040 with #000000. Closest websafe color is: #000033.

    • R 2
    • G 0
    • B 13
    RGB color chart
    • C 88
    • M 100
    • Y 0
    • K 87
    CMYK color chart

#040020 color description : Very dark (mostly black) blue.

#040020 Color Conversion

The hexadecimal color #040020 has RGB values of R:4, G:0, B:32 and CMYK values of C:0.88, M:1, Y:0, K:0.87. Its decimal value is 262176.

Hex triplet 040020 #040020
RGB Decimal 4, 0, 32 rgb(4,0,32)
RGB Percent 1.6, 0, 12.5 rgb(1.6%,0%,12.5%)
CMYK 88, 100, 0, 87
HSL 247.5°, 100, 6.3 hsl(247.5,100%,6.3%)
HSV (or HSB) 247.5°, 100, 12.5
Web Safe 000033 #000033
CIE-LAB 1.175, 7.664, -16.964
XYZ 0.311, 0.13, 1.375
xyY 0.171, 0.072, 0.13
CIE-LCH 1.175, 18.615, 294.313
CIE-LUV 1.175, -0.05, -4.354
Hunter-Lab 3.607, 9.067, -20.081
Binary 00000100, 00000000, 00100000

Color Schemes with #040020

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

Alternatives to #040020

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

Similar Colors

#040020 Preview

Text with hexadecimal color #040020

This text has a font color of #040020.

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

This paragraph has a background color of #040020.

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

This element has a border color of #040020.

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

Shades and Tints of #040020

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, #02000c is the darkest color, while #f9f8ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #040020

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #040020 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
  • #050505 Achromatopsia 0.005% of the population
  • #05040a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #000f1e Protanopia 1% of men
  • #00101a Deuteranopia 1% of men
  • #001112 Tritanopia 0.001% of the population
Trichromacy
  • #01091e Protanomaly 1% of men, 0.01% of women
  • #010a1c Deuteranomaly 6% of men, 0.4% of women
  • #010b17 Tritanomaly 0.01% of the population