#0420a8 Color Information

In a RGB color space, hex #0420a8 is composed of 1.6% red, 12.5% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 97.6% cyan, 81% magenta, 0% yellow and 34.1% black. It has a hue angle of 229.8 degrees, a saturation of 95.3% and a lightness of 33.7%. #0420a8 color hex could be obtained by blending #0840ff with #000051. Closest websafe color is: #003399.

    • R 2
    • G 13
    • B 66
    RGB color chart
    • C 98
    • M 81
    • Y 0
    • K 34
    CMYK color chart

#0420a8 color description : Dark blue.

#0420a8 Color Conversion

The hexadecimal color #0420a8 has RGB values of R:4, G:32, B:168 and CMYK values of C:0.98, M:0.81, Y:0, K:0.34. Its decimal value is 270504.

Hex triplet 0420a8 #0420a8
RGB Decimal 4, 32, 168 rgb(4,32,168)
RGB Percent 1.6, 12.5, 65.9 rgb(1.6%,12.5%,65.9%)
CMYK 98, 81, 0, 34
HSL 229.8°, 95.3, 33.7 hsl(229.8,95.3%,33.7%)
HSV (or HSB) 229.8°, 97.6, 65.9
Web Safe 003399 #003399
CIE-LAB 23.289, 46.371, -72.316
XYZ 7.633, 3.885, 37.391
xyY 0.156, 0.079, 3.885
CIE-LCH 23.289, 85.906, 302.669
CIE-LUV 23.289, -7.991, -82.344
Hunter-Lab 19.711, 34.628, -98.672
Binary 00000100, 00100000, 10101000

Color Schemes with #0420a8

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

Alternatives to #0420a8

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

Similar Colors

#0420a8 Preview

Text with hexadecimal color #0420a8

This text has a font color of #0420a8.

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

This paragraph has a background color of #0420a8.

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

This element has a border color of #0420a8.

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

Shades and Tints of #0420a8

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

Shade Color Variation
Tint Color Variation

Tones of #0420a8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0420a8 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
  • #272727 Achromatopsia 0.005% of the population
  • #202641 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00407c Protanopia 1% of men
  • #00436b Deuteranopia 1% of men
  • #00484b Tritanopia 0.001% of the population
Trichromacy
  • #01348c Protanomaly 1% of men, 0.01% of women
  • #013681 Deuteranomaly 6% of men, 0.4% of women
  • #01396d Tritanomaly 0.01% of the population