#0021af Color Information

In a RGB color space, hex #0021af is composed of 0% red, 12.9% green and 68.6% blue. Whereas in a CMYK color space, it is composed of 100% cyan, 81.1% magenta, 0% yellow and 31.4% black. It has a hue angle of 228.7 degrees, a saturation of 100% and a lightness of 34.3%. #0021af color hex could be obtained by blending #0042ff with #00005f. Closest websafe color is: #003399.

    • R 0
    • G 13
    • B 69
    RGB color chart
    • C 100
    • M 81
    • Y 0
    • K 31
    CMYK color chart

#0021af color description : Dark blue.

#0021af Color Conversion

The hexadecimal color #0021af has RGB values of R:0, G:33, B:175 and CMYK values of C:1, M:0.81, Y:0, K:0.31. Its decimal value is 8623.

Hex triplet 0021af #0021af
RGB Decimal 0, 33, 175 rgb(0,33,175)
RGB Percent 0, 12.9, 68.6 rgb(0%,12.9%,68.6%)
CMYK 100, 81, 0, 31
HSL 228.7°, 100, 34.3 hsl(228.7,100%,34.3%)
HSV (or HSB) 228.7°, 100, 68.6
Web Safe 003399 #003399
CIE-LAB 24.265, 48.096, -74.914
XYZ 8.28, 4.182, 40.926
xyY 0.155, 0.078, 4.182
CIE-LCH 24.265, 89.025, 302.701
CIE-LUV 24.265, -8.495, -86.465
Hunter-Lab 20.45, 36.485, -104.338
Binary 00000000, 00100001, 10101111

Color Schemes with #0021af

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

Alternatives to #0021af

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

Similar Colors

#0021af Preview

Text with hexadecimal color #0021af

This text has a font color of #0021af.

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

This paragraph has a background color of #0021af.

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

This element has a border color of #0021af.

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

Shades and Tints of #0021af

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

Shade Color Variation
Tint Color Variation

Tones of #0021af

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0021af 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
  • #1f2642 Atypical Achromatopsia 0.001% of the population
  • #004280 Protanopia 1% of men
  • #00456e Deuteranopia 1% of men
  • #004a4d Tritanopia 0.001% of the population
  • #003691 Protanomaly 1% of men, 0.01% of women
  • #003886 Deuteranomaly 6% of men, 0.4% of women
  • #003b71 Tritanomaly 0.01% of the population