#0402a1 Color Information

In a RGB color space, hex #0402a1 is composed of 1.6% red, 0.8% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 97.5% cyan, 98.8% magenta, 0% yellow and 36.9% black. It has a hue angle of 240.8 degrees, a saturation of 97.5% and a lightness of 32%. #0402a1 color hex could be obtained by blending #0804ff with #000043. Closest websafe color is: #000099.

    • R 2
    • G 1
    • B 63
    RGB color chart
    • C 98
    • M 99
    • Y 0
    • K 37
    CMYK color chart

#0402a1 color description : Dark blue.

#0402a1 Color Conversion

The hexadecimal color #0402a1 has RGB values of R:4, G:2, B:161 and CMYK values of C:0.98, M:0.99, Y:0, K:0.37. Its decimal value is 262817.

Hex triplet 0402a1 #0402a1
RGB Decimal 4, 2, 161 rgb(4,2,161)
RGB Percent 1.6, 0.8, 63.1 rgb(1.6%,0.8%,63.1%)
CMYK 98, 99, 0, 37
HSL 240.8°, 97.5, 32 hsl(240.8,97.5%,32%)
HSV (or HSB) 240.8°, 98.8, 63.1
Web Safe 000099 #000099
CIE-LAB 18.549, 55.589, -75.964
XYZ 6.504, 2.642, 33.883
xyY 0.151, 0.061, 2.642
CIE-LCH 18.549, 94.132, 306.196
CIE-LUV 18.549, -5.259, -74.134
Hunter-Lab 16.254, 42.977, -112.219
Binary 00000100, 00000010, 10100001

Color Schemes with #0402a1

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

Alternatives to #0402a1

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

Similar Colors

#0402a1 Preview

Text with hexadecimal color #0402a1

This text has a font color of #0402a1.

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

This paragraph has a background color of #0402a1.

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

This element has a border color of #0402a1.

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

Shades and Tints of #0402a1

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

Shade Color Variation
Tint Color Variation

Tones of #0402a1

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0402a1 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
  • #151515 Achromatopsia 0.005% of the population
  • #121131 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003669 Protanopia 1% of men
  • #00395a Deuteranopia 1% of men
  • #003d40 Tritanopia 0.001% of the population
Trichromacy
  • #01237d Protanomaly 1% of men, 0.01% of women
  • #012574 Deuteranomaly 6% of men, 0.4% of women
  • #012863 Tritanomaly 0.01% of the population