#0021a8 Color Information

In a RGB color space, hex #0021a8 is composed of 0% red, 12.9% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 80.4% magenta, 0% yellow and 34.1% black. It has a hue angle of 228.2 degrees, a saturation of 100% and a lightness of 32.9%. #0021a8 color hex could be obtained by blending #0042ff with #000051. Closest websafe color is: #003399.

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

#0021a8 color description : Dark blue.

#0021a8 Color Conversion

The hexadecimal color #0021a8 has RGB values of R:0, G:33, B:168 and CMYK values of C:1, M:0.8, Y:0, K:0.34. Its decimal value is 8616.

Hex triplet 0021a8 #0021a8
RGB Decimal 0, 33, 168 rgb(0,33,168)
RGB Percent 0, 12.9, 65.9 rgb(0%,12.9%,65.9%)
CMYK 100, 80, 0, 34
HSL 228.2°, 100, 32.9 hsl(228.2,100%,32.9%)
HSV (or HSB) 228.2°, 100, 65.9
Web Safe 003399 #003399
CIE-LAB 23.386, 45.739, -72.157
XYZ 7.61, 3.914, 37.398
xyY 0.156, 0.08, 3.914
CIE-LCH 23.386, 85.432, 302.37
CIE-LUV 23.386, -8.305, -82.388
Hunter-Lab 19.784, 34.039, -98.225
Binary 00000000, 00100001, 10101000

Color Schemes with #0021a8

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

Alternatives to #0021a8

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

Similar Colors

#0021a8 Preview

Text with hexadecimal color #0021a8

This text has a font color of #0021a8.

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

This paragraph has a background color of #0021a8.

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

This element has a border color of #0021a8.

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

Shades and Tints of #0021a8

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

Shade Color Variation
Tint Color Variation

Tones of #0021a8

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

Tone Color Variation

Color Blindness Simulator

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

  • #272727 Achromatopsia 0.005% of the population
  • #1f2641 Atypical Achromatopsia 0.001% of the population
  • #00407c Protanopia 1% of men
  • #00446b Deuteranopia 1% of men
  • #00484b Tritanopia 0.001% of the population
  • #00348c Protanomaly 1% of men, 0.01% of women
  • #003781 Deuteranomaly 6% of men, 0.4% of women
  • #003a6d Tritanomaly 0.01% of the population