#021c7f Color Information

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

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

#021c7f color description : Dark blue.

#021c7f Color Conversion

The hexadecimal color #021c7f has RGB values of R:2, G:28, B:127 and CMYK values of C:0.98, M:0.78, Y:0, K:0.5. Its decimal value is 138367.

Hex triplet 021c7f #021c7f
RGB Decimal 2, 28, 127 rgb(2,28,127)
RGB Percent 0.8, 11, 49.8 rgb(0.8%,11%,49.8%)
CMYK 98, 78, 0, 50
HSL 227.5°, 96.9, 25.3 hsl(227.5,96.9%,25.3%)
HSV (or HSB) 227.5°, 98.4, 49.8
Web Safe 003366 #003366
CIE-LAB 17.345, 34.02, -56.784
XYZ 4.27, 2.375, 20.311
xyY 0.158, 0.088, 2.375
CIE-LCH 17.345, 66.195, 300.926
CIE-LUV 17.345, -6.413, -57.798
Hunter-Lab 15.412, 22.486, -67.346
Binary 00000010, 00011100, 01111111

Color Schemes with #021c7f

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

Alternatives to #021c7f

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

Similar Colors

#021c7f Preview

Text with hexadecimal color #021c7f

This text has a font color of #021c7f.

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

This paragraph has a background color of #021c7f.

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

This element has a border color of #021c7f.

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

Shades and Tints of #021c7f

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 #021c7f

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

Tone Color Variation

Color Blindness Simulator

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

  • #202020 Achromatopsia 0.005% of the population
  • #1a1f33 Atypical Achromatopsia 0.001% of the population
  • #003465 Protanopia 1% of men
  • #003757 Deuteranopia 1% of men
  • #003b3d Tritanopia 0.001% of the population
  • #002b6e Protanomaly 1% of men, 0.01% of women
  • #002d65 Deuteranomaly 6% of men, 0.4% of women
  • #002f55 Tritanomaly 0.01% of the population