#021158 Color Information

In a RGB color space, hex #021158 is composed of 0.8% red, 6.7% green and 34.5% blue. Whereas in a CMYK color space, it is composed of 97.7% cyan, 80.7% magenta, 0% yellow and 65.5% black. It has a hue angle of 229.5 degrees, a saturation of 95.6% and a lightness of 17.6%. #021158 color hex could be obtained by blending #0422b0 with #000000. Closest websafe color is: #000066.

    • R 1
    • G 7
    • B 35
    RGB color chart
    • C 98
    • M 81
    • Y 0
    • K 65
    CMYK color chart

#021158 color description : Very dark blue.

#021158 Color Conversion

The hexadecimal color #021158 has RGB values of R:2, G:17, B:88 and CMYK values of C:0.98, M:0.81, Y:0, K:0.65. Its decimal value is 135512.

Hex triplet 021158 #021158
RGB Decimal 2, 17, 88 rgb(2,17,88)
RGB Percent 0.8, 6.7, 34.5 rgb(0.8%,6.7%,34.5%)
CMYK 98, 81, 0, 65
HSL 229.5°, 95.6, 17.6 hsl(229.5,95.6%,17.6%)
HSV (or HSB) 229.5°, 97.7, 34.5
Web Safe 000066 #000066
CIE-LAB 9.94, 25.919, -43.491
XYZ 1.987, 1.118, 9.343
xyY 0.16, 0.09, 1.118
CIE-LCH 9.94, 50.629, 300.794
CIE-LUV 9.94, -3.619, -32.724
Hunter-Lab 10.575, 15.028, -44.983
Binary 00000010, 00010001, 01011000

Color Schemes with #021158

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

Alternatives to #021158

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

Similar Colors

#021158 Preview

Text with hexadecimal color #021158

This text has a font color of #021158.

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

This paragraph has a background color of #021158.

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

This element has a border color of #021158.

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

Shades and Tints of #021158

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 #021158

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

Tone Color Variation

Color Blindness Simulator

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

Monochromacy
  • #151515 Achromatopsia 0.005% of the population
  • #111422 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00264a Protanopia 1% of men
  • #002840 Deuteranopia 1% of men
  • #002b2d Tritanopia 0.001% of the population
Trichromacy
  • #001e4f Protanomaly 1% of men, 0.01% of women
  • #001f48 Deuteranomaly 6% of men, 0.4% of women
  • #00213c Tritanomaly 0.01% of the population