#0021a1 Color Information

In a RGB color space, hex #0021a1 is composed of 0% red, 12.9% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 79.5% magenta, 0% yellow and 36.9% black. It has a hue angle of 227.7 degrees, a saturation of 100% and a lightness of 31.6%. #0021a1 color hex could be obtained by blending #0042ff with #000043. Closest websafe color is: #003399.

    • R 0
    • G 13
    • B 63
    RGB color chart
    • C 100
    • M 80
    • Y 0
    • K 37
    CMYK color chart

#0021a1 color description : Dark blue.

#0021a1 Color Conversion

The hexadecimal color #0021a1 has RGB values of R:0, G:33, B:161 and CMYK values of C:1, M:0.8, Y:0, K:0.37. Its decimal value is 8609.

Hex triplet 0021a1 #0021a1
RGB Decimal 0, 33, 161 rgb(0,33,161)
RGB Percent 0, 12.9, 63.1 rgb(0%,12.9%,63.1%)
CMYK 100, 80, 0, 37
HSL 227.7°, 100, 31.6 hsl(227.7,100%,31.6%)
HSV (or HSB) 227.7°, 100, 63.1
Web Safe 003399 #003399
CIE-LAB 22.515, 43.325, -69.354
XYZ 6.976, 3.66, 34.055
xyY 0.156, 0.082, 3.66
CIE-LCH 22.515, 81.775, 301.993
CIE-LUV 22.515, -8.123, -78.302
Hunter-Lab 19.132, 31.6, -92.144
Binary 00000000, 00100001, 10100001

Color Schemes with #0021a1

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

Alternatives to #0021a1

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

Similar Colors

#0021a1 Preview

Text with hexadecimal color #0021a1

This text has a font color of #0021a1.

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

This paragraph has a background color of #0021a1.

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

This element has a border color of #0021a1.

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

Shades and Tints of #0021a1

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

Shade Color Variation
Tint Color Variation

Tones of #0021a1

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

Tone Color Variation

Color Blindness Simulator

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

  • #262626 Achromatopsia 0.005% of the population
  • #1e253f Atypical Achromatopsia 0.001% of the population
  • #003e79 Protanopia 1% of men
  • #004268 Deuteranopia 1% of men
  • #004649 Tritanopia 0.001% of the population
  • #003387 Protanomaly 1% of men, 0.01% of women
  • #00367d Deuteranomaly 6% of men, 0.4% of women
  • #003969 Tritanomaly 0.01% of the population