#4020a2 Color Information

In a RGB color space, hex #4020a2 is composed of 25.1% red, 12.5% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 60.5% cyan, 80.2% magenta, 0% yellow and 36.5% black. It has a hue angle of 254.8 degrees, a saturation of 67% and a lightness of 38%. #4020a2 color hex could be obtained by blending #8040ff with #000045. Closest websafe color is: #333399.

    • R 25
    • G 13
    • B 64
    RGB color chart
    • C 60
    • M 80
    • Y 0
    • K 36
    CMYK color chart

#4020a2 color description : Dark blue.

#4020a2 Color Conversion

The hexadecimal color #4020a2 has RGB values of R:64, G:32, B:162 and CMYK values of C:0.6, M:0.8, Y:0, K:0.36. Its decimal value is 4202658.

Hex triplet 4020a2 #4020a2
RGB Decimal 64, 32, 162 rgb(64,32,162)
RGB Percent 25.1, 12.5, 63.5 rgb(25.1%,12.5%,63.5%)
CMYK 60, 80, 0, 36
HSL 254.8°, 67, 38 hsl(254.8,67%,38%)
HSV (or HSB) 254.8°, 80.2, 63.5
Web Safe 333399 #333399
CIE-LAB 25.955, 48.325, -64.158
XYZ 9.151, 4.731, 34.611
xyY 0.189, 0.098, 4.731
CIE-LCH 25.955, 80.322, 306.987
CIE-LUV 25.955, 0.387, -79.92
Hunter-Lab 21.752, 37.032, -79.117
Binary 01000000, 00100000, 10100010

Color Schemes with #4020a2

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

Alternatives to #4020a2

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

Similar Colors

#4020a2 Preview

Text with hexadecimal color #4020a2

This text has a font color of #4020a2.

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

This paragraph has a background color of #4020a2.

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

This element has a border color of #4020a2.

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

Shades and Tints of #4020a2

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, #06030f is the darkest color, while #fefdff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #4020a2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #4020a2 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
  • #383838 Achromatopsia 0.005% of the population
  • #3a334d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004587 Protanopia 1% of men
  • #004975 Deuteranopia 1% of men
  • #044e54 Tritanopia 0.001% of the population
Trichromacy
  • #173790 Protanomaly 1% of men, 0.01% of women
  • #173a85 Deuteranomaly 6% of men, 0.4% of women
  • #1a3d70 Tritanomaly 0.01% of the population