#0021a7 Color Information

In a RGB color space, hex #0021a7 is composed of 0% red, 12.9% green and 65.5% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 80.2% magenta, 0% yellow and 34.5% black. It has a hue angle of 228.1 degrees, a saturation of 100% and a lightness of 32.7%. #0021a7 color hex could be obtained by blending #0042ff with #00004f. Closest websafe color is: #003399.

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

#0021a7 color description : Dark blue.

#0021a7 Color Conversion

The hexadecimal color #0021a7 has RGB values of R:0, G:33, B:167 and CMYK values of C:1, M:0.8, Y:0, K:0.35. Its decimal value is 8615.

Hex triplet 0021a7 #0021a7
RGB Decimal 0, 33, 167 rgb(0,33,167)
RGB Percent 0, 12.9, 65.5 rgb(0%,12.9%,65.5%)
CMYK 100, 80, 0, 35
HSL 228.1°, 100, 32.7 hsl(228.1,100%,32.7%)
HSV (or HSB) 228.1°, 100, 65.5
Web Safe 003399 #003399
CIE-LAB 23.261, 45.397, -71.76
XYZ 7.517, 3.877, 36.909
xyY 0.156, 0.08, 3.877
CIE-LCH 23.261, 84.914, 302.319
CIE-LUV 23.261, -8.279, -81.805
Hunter-Lab 19.69, 33.69, -97.355
Binary 00000000, 00100001, 10100111

Color Schemes with #0021a7

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

Alternatives to #0021a7

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

Similar Colors

#0021a7 Preview

Text with hexadecimal color #0021a7

This text has a font color of #0021a7.

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

This paragraph has a background color of #0021a7.

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

This element has a border color of #0021a7.

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

Shades and Tints of #0021a7

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, #00020a is the darkest color, while #f5f7ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0021a7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0021a7 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
  • #1e2540 Atypical Achromatopsia 0.001% of the population
  • #00407c Protanopia 1% of men
  • #00436b Deuteranopia 1% of men
  • #00484b Tritanopia 0.001% of the population
  • #00348b Protanomaly 1% of men, 0.01% of women
  • #003780 Deuteranomaly 6% of men, 0.4% of women
  • #003a6c Tritanomaly 0.01% of the population