#021f7f Color Information

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

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

#021f7f color description : Dark blue.

#021f7f Color Conversion

The hexadecimal color #021f7f has RGB values of R:2, G:31, B:127 and CMYK values of C:0.98, M:0.76, Y:0, K:0.5. Its decimal value is 139135.

Hex triplet 021f7f #021f7f
RGB Decimal 2, 31, 127 rgb(2,31,127)
RGB Percent 0.8, 12.2, 49.8 rgb(0.8%,12.2%,49.8%)
CMYK 98, 76, 0, 50
HSL 226.1°, 96.9, 25.3 hsl(226.1,96.9%,25.3%)
HSV (or HSB) 226.1°, 98.4, 49.8
Web Safe 003366 #003366
CIE-LAB 18.031, 32.097, -55.649
XYZ 4.345, 2.525, 20.336
xyY 0.16, 0.093, 2.525
CIE-LCH 18.031, 64.242, 299.976
CIE-LUV 18.031, -6.908, -58.178
Hunter-Lab 15.89, 21.003, -64.757
Binary 00000010, 00011111, 01111111

Color Schemes with #021f7f

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

Alternatives to #021f7f

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

Similar Colors

#021f7f Preview

Text with hexadecimal color #021f7f

This text has a font color of #021f7f.

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

This paragraph has a background color of #021f7f.

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

This element has a border color of #021f7f.

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

Shades and Tints of #021f7f

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

Shade Color Variation
Tint Color Variation

Tones of #021f7f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #021f7f 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
  • #003c3f Tritanopia 0.001% of the population
  • #002d70 Protanomaly 1% of men, 0.01% of women
  • #002f67 Deuteranomaly 6% of men, 0.4% of women
  • #003156 Tritanomaly 0.01% of the population