#021a7f Color Information

In a RGB color space, hex #021a7f is composed of 0.8% red, 10.2% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 98.4% cyan, 79.5% magenta, 0% yellow and 50.2% black. It has a hue angle of 228.5 degrees, a saturation of 96.9% and a lightness of 25.3%. #021a7f color hex could be obtained by blending #0434fe with #000000. Closest websafe color is: #003366.

    • R 1
    • G 10
    • B 50
    RGB color chart
    • C 98
    • M 80
    • Y 0
    • K 50
    CMYK color chart

#021a7f color description : Dark blue.

#021a7f Color Conversion

The hexadecimal color #021a7f has RGB values of R:2, G:26, B:127 and CMYK values of C:0.98, M:0.8, Y:0, K:0.5. Its decimal value is 137855.

Hex triplet 021a7f #021a7f
RGB Decimal 2, 26, 127 rgb(2,26,127)
RGB Percent 0.8, 10.2, 49.8 rgb(0.8%,10.2%,49.8%)
CMYK 98, 80, 0, 50
HSL 228.5°, 96.9, 25.3 hsl(228.5,96.9%,25.3%)
HSV (or HSB) 228.5°, 98.4, 49.8
Web Safe 003366 #003366
CIE-LAB 16.911, 35.255, -57.505
XYZ 4.224, 2.284, 20.296
xyY 0.158, 0.085, 2.284
CIE-LCH 16.911, 67.452, 301.512
CIE-LUV 16.911, -6.108, -57.487
Hunter-Lab 15.112, 23.453, -69.05
Binary 00000010, 00011010, 01111111

Color Schemes with #021a7f

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

Alternatives to #021a7f

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

Similar Colors

#021a7f Preview

Text with hexadecimal color #021a7f

This text has a font color of #021a7f.

<span style="color:#021a7f;">Text here</span>
#021a7f background color

This paragraph has a background color of #021a7f.

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

This element has a border color of #021a7f.

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

Shades and Tints of #021a7f

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 #f7f8ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #021a7f

A tone is produced by adding gray to any pure hue. In this case, #3e3f43 is the less saturated color, while #021a7f is the most saturated one.

Tone Color Variation

Color Blindness Simulator

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

  • #1e1e1e Achromatopsia 0.005% of the population
  • #181d31 Atypical Achromatopsia 0.001% of the population
  • #003363 Protanopia 1% of men
  • #003656 Deuteranopia 1% of men
  • #003a3c Tritanopia 0.001% of the population
  • #002a6d Protanomaly 1% of men, 0.01% of women
  • #002c64 Deuteranomaly 6% of men, 0.4% of women
  • #002e54 Tritanomaly 0.01% of the population