#0402a6 Color Information

In a RGB color space, hex #0402a6 is composed of 1.6% red, 0.8% green and 65.1% blue. Whereas in a CMYK color space, it is composed of 97.6% cyan, 98.8% magenta, 0% yellow and 34.9% black. It has a hue angle of 240.7 degrees, a saturation of 97.6% and a lightness of 32.9%. #0402a6 color hex could be obtained by blending #0804ff with #00004d. Closest websafe color is: #000099.

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

#0402a6 color description : Dark blue.

#0402a6 Color Conversion

The hexadecimal color #0402a6 has RGB values of R:4, G:2, B:166 and CMYK values of C:0.98, M:0.99, Y:0, K:0.35. Its decimal value is 262822.

Hex triplet 0402a6 #0402a6
RGB Decimal 4, 2, 166 rgb(4,2,166)
RGB Percent 1.6, 0.8, 65.1 rgb(1.6%,0.8%,65.1%)
CMYK 98, 99, 0, 35
HSL 240.7°, 97.6, 32.9 hsl(240.7,97.6%,32.9%)
HSV (or HSB) 240.7°, 98.8, 65.1
Web Safe 000099 #000099
CIE-LAB 19.316, 56.893, -77.73
XYZ 6.953, 2.822, 36.252
xyY 0.151, 0.061, 2.822
CIE-LCH 19.316, 96.326, 306.202
CIE-LUV 19.316, -5.486, -77.249
Hunter-Lab 16.798, 44.489, -116.194
Binary 00000100, 00000010, 10100110

Color Schemes with #0402a6

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

Alternatives to #0402a6

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

Similar Colors

#0402a6 Preview

Text with hexadecimal color #0402a6

This text has a font color of #0402a6.

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

This paragraph has a background color of #0402a6.

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

This element has a border color of #0402a6.

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

Shades and Tints of #0402a6

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, #00000b is the darkest color, while #f7f7ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0402a6

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0402a6 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.

  • #151515 Achromatopsia 0.005% of the population
  • #121132 Atypical Achromatopsia 0.001% of the population
  • #00386c Protanopia 1% of men
  • #003b5d Deuteranopia 1% of men
  • #003f41 Tritanopia 0.001% of the population
  • #012481 Protanomaly 1% of men, 0.01% of women
  • #012677 Deuteranomaly 6% of men, 0.4% of women
  • #012966 Tritanomaly 0.01% of the population