#021f8b Color Information

In a RGB color space, hex #021f8b is composed of 0.8% red, 12.2% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 98.6% cyan, 77.7% magenta, 0% yellow and 45.5% black. It has a hue angle of 227.3 degrees, a saturation of 97.2% and a lightness of 27.6%. #021f8b color hex could be obtained by blending #043eff with #000017. Closest websafe color is: #003399.

    • R 1
    • G 12
    • B 55
    RGB color chart
    • C 99
    • M 78
    • Y 0
    • K 45
    CMYK color chart

#021f8b color description : Dark blue.

#021f8b Color Conversion

The hexadecimal color #021f8b has RGB values of R:2, G:31, B:139 and CMYK values of C:0.99, M:0.78, Y:0, K:0.45. Its decimal value is 139147.

Hex triplet 021f8b #021f8b
RGB Decimal 2, 31, 139 rgb(2,31,139)
RGB Percent 0.8, 12.2, 54.5 rgb(0.8%,12.2%,54.5%)
CMYK 99, 78, 0, 45
HSL 227.3°, 97.2, 27.6 hsl(227.3,97.2%,27.6%)
HSV (or HSB) 227.3°, 98.6, 54.5
Web Safe 003399 #003399
CIE-LAB 19.46, 36.654, -60.844
XYZ 5.174, 2.857, 24.703
xyY 0.158, 0.087, 2.857
CIE-LCH 19.46, 71.032, 301.066
CIE-LUV 19.46, -7.178, -65.227
Hunter-Lab 16.901, 25.07, -74.829
Binary 00000010, 00011111, 10001011

Color Schemes with #021f8b

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

Alternatives to #021f8b

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

Similar Colors

#021f8b Preview

Text with hexadecimal color #021f8b

This text has a font color of #021f8b.

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

This paragraph has a background color of #021f8b.

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

This element has a border color of #021f8b.

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

Shades and Tints of #021f8b

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

Shade Color Variation
Tint Color Variation

Tones of #021f8b

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

Tone Color Variation

Color Blindness Simulator

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

  • #232323 Achromatopsia 0.005% of the population
  • #1c2238 Atypical Achromatopsia 0.001% of the population
  • #00386d Protanopia 1% of men
  • #003b5e Deuteranopia 1% of men
  • #003f42 Tritanopia 0.001% of the population
  • #002f78 Protanomaly 1% of men, 0.01% of women
  • #00316e Deuteranomaly 6% of men, 0.4% of women
  • #00335c Tritanomaly 0.01% of the population