#021f7e Color Information

In a RGB color space, hex #021f7e is composed of 0.8% red, 12.2% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 98.4% cyan, 75.4% magenta, 0% yellow and 50.6% black. It has a hue angle of 226 degrees, a saturation of 96.9% and a lightness of 25.1%. #021f7e color hex could be obtained by blending #043efc with #000000. Closest websafe color is: #003366.

    • R 1
    • G 12
    • B 49
    RGB color chart
    • C 98
    • M 75
    • Y 0
    • K 51
    CMYK color chart

#021f7e color description : Dark blue.

#021f7e Color Conversion

The hexadecimal color #021f7e has RGB values of R:2, G:31, B:126 and CMYK values of C:0.98, M:0.75, Y:0, K:0.51. Its decimal value is 139134.

Hex triplet 021f7e #021f7e
RGB Decimal 2, 31, 126 rgb(2,31,126)
RGB Percent 0.8, 12.2, 49.4 rgb(0.8%,12.2%,49.4%)
CMYK 98, 75, 0, 51
HSL 226°, 96.9, 25.1 hsl(226,96.9%,25.1%)
HSV (or HSB) 226°, 98.4, 49.4
Web Safe 003366 #003366
CIE-LAB 17.914, 31.707, -55.207
XYZ 4.28, 2.499, 19.994
xyY 0.16, 0.093, 2.499
CIE-LCH 17.914, 63.664, 299.87
CIE-LUV 17.914, -6.887, -57.589
Hunter-Lab 15.808, 20.667, -63.926
Binary 00000010, 00011111, 01111110

Color Schemes with #021f7e

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

Alternatives to #021f7e

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

Similar Colors

#021f7e Preview

Text with hexadecimal color #021f7e

This text has a font color of #021f7e.

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

This paragraph has a background color of #021f7e.

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

This element has a border color of #021f7e.

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

Shades and Tints of #021f7e

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

Shade Color Variation
Tint Color Variation

Tones of #021f7e

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

Tone Color Variation

Color Blindness Simulator

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

  • #212121 Achromatopsia 0.005% of the population
  • #1b2134 Atypical Achromatopsia 0.001% of the population
  • #003567 Protanopia 1% of men
  • #003859 Deuteranopia 1% of men
  • #003c3e Tritanopia 0.001% of the population
  • #002d6f Protanomaly 1% of men, 0.01% of women
  • #002f66 Deuteranomaly 6% of men, 0.4% of women
  • #003155 Tritanomaly 0.01% of the population