#04021f Color Information

In a RGB color space, hex #04021f is composed of 1.6% red, 0.8% green and 12.2% blue. Whereas in a CMYK color space, it is composed of 87.1% cyan, 93.5% magenta, 0% yellow and 87.8% black. It has a hue angle of 244.1 degrees, a saturation of 87.9% and a lightness of 6.5%. #04021f color hex could be obtained by blending #08043e with #000000. Closest websafe color is: #000033.

    • R 2
    • G 1
    • B 12
    RGB color chart
    • C 87
    • M 94
    • Y 0
    • K 88
    CMYK color chart

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

#04021f Color Conversion

The hexadecimal color #04021f has RGB values of R:4, G:2, B:31 and CMYK values of C:0.87, M:0.94, Y:0, K:0.88. Its decimal value is 262687.

Hex triplet 04021f #04021f
RGB Decimal 4, 2, 31 rgb(4,2,31)
RGB Percent 1.6, 0.8, 12.2 rgb(1.6%,0.8%,12.2%)
CMYK 87, 94, 0, 88
HSL 244.1°, 87.9, 6.5 hsl(244.1,87.9%,6.5%)
HSV (or HSB) 244.1°, 93.5, 12.2
Web Safe 000033 #000033
CIE-LAB 1.519, 6.523, -15.645
XYZ 0.319, 0.168, 1.312
xyY 0.177, 0.093, 0.168
CIE-LCH 1.519, 16.951, 292.633
CIE-LUV 1.519, -0.188, -4.838
Hunter-Lab 4.101, 6.713, -16.098
Binary 00000100, 00000010, 00011111

Color Schemes with #04021f

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

Alternatives to #04021f

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

Similar Colors

#04021f Preview

Text with hexadecimal color #04021f

This text has a font color of #04021f.

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

This paragraph has a background color of #04021f.

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

This element has a border color of #04021f.

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

Shades and Tints of #04021f

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, #02010d is the darkest color, while #faf9ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #04021f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #04021f 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
  • #060606 Achromatopsia 0.005% of the population
  • #06050b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #001121 Protanopia 1% of men
  • #00121d Deuteranopia 1% of men
  • #001314 Tritanopia 0.001% of the population
Trichromacy
  • #010b20 Protanomaly 1% of men, 0.01% of women
  • #010c1d Deuteranomaly 6% of men, 0.4% of women
  • #010d18 Tritanomaly 0.01% of the population