#021f42 Color Information

In a RGB color space, hex #021f42 is composed of 0.8% red, 12.2% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 97% cyan, 53% magenta, 0% yellow and 74.1% black. It has a hue angle of 212.8 degrees, a saturation of 94.1% and a lightness of 13.3%. #021f42 color hex could be obtained by blending #043e84 with #000000. Closest websafe color is: #003333.

    • R 1
    • G 12
    • B 26
    RGB color chart
    • C 97
    • M 53
    • Y 0
    • K 74
    CMYK color chart

#021f42 color description : Very dark blue.

#021f42 Color Conversion

The hexadecimal color #021f42 has RGB values of R:2, G:31, B:66 and CMYK values of C:0.97, M:0.53, Y:0, K:0.74. Its decimal value is 139074.

Hex triplet 021f42 #021f42
RGB Decimal 2, 31, 66 rgb(2,31,66)
RGB Percent 0.8, 12.2, 25.9 rgb(0.8%,12.2%,25.9%)
CMYK 97, 53, 0, 74
HSL 212.8°, 94.1, 13.3 hsl(212.8,94.1%,13.3%)
HSV (or HSB) 212.8°, 97, 25.9
Web Safe 003333 #003333
CIE-LAB 11.865, 5.258, -25.177
XYZ 1.498, 1.386, 5.343
xyY 0.182, 0.168, 1.386
CIE-LCH 11.865, 25.72, 281.797
CIE-LUV 11.865, -6.392, -22.021
Hunter-Lab 11.773, 2.111, -18.664
Binary 00000010, 00011111, 01000010

Color Schemes with #021f42

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

Alternatives to #021f42

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

Similar Colors

#021f42 Preview

Text with hexadecimal color #021f42

This text has a font color of #021f42.

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

This paragraph has a background color of #021f42.

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

This element has a border color of #021f42.

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

Shades and Tints of #021f42

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

Shade Color Variation
Tint Color Variation

Tones of #021f42

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

Tone Color Variation

Color Blindness Simulator

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

  • #1a1a1a Achromatopsia 0.005% of the population
  • #151b22 Atypical Achromatopsia 0.001% of the population
  • #17294b Protanopia 1% of men
  • #002b48 Deuteranopia 1% of men
  • #002f31 Tritanopia 0.001% of the population
  • #0f2547 Protanomaly 1% of men, 0.01% of women
  • #002745 Deuteranomaly 6% of men, 0.4% of women
  • #002937 Tritanomaly 0.01% of the population