#21158a Color Information

In a RGB color space, hex #21158a is composed of 12.9% red, 8.2% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 76.1% cyan, 84.8% magenta, 0% yellow and 45.9% black. It has a hue angle of 246.2 degrees, a saturation of 73.6% and a lightness of 31.2%. #21158a color hex could be obtained by blending #422aff with #000015. Closest websafe color is: #330099.

    • R 13
    • G 8
    • B 54
    RGB color chart
    • C 76
    • M 85
    • Y 0
    • K 46
    CMYK color chart

#21158a color description : Dark blue.

#21158a Color Conversion

The hexadecimal color #21158a has RGB values of R:33, G:21, B:138 and CMYK values of C:0.76, M:0.85, Y:0, K:0.46. Its decimal value is 2168202.

Hex triplet 21158a #21158a
RGB Decimal 33, 21, 138 rgb(33,21,138)
RGB Percent 12.9, 8.2, 54.1 rgb(12.9%,8.2%,54.1%)
CMYK 76, 85, 0, 46
HSL 246.2°, 73.6, 31.2 hsl(246.2,73.6%,31.2%)
HSV (or HSB) 246.2°, 84.8, 54.1
Web Safe 330099 #330099
CIE-LAB 18.776, 43.288, -61.314
XYZ 5.482, 2.694, 24.275
xyY 0.169, 0.083, 2.694
CIE-LCH 18.776, 75.055, 305.222
CIE-LUV 18.776, -3.207, -64.458
Hunter-Lab 16.414, 30.888, -76.191
Binary 00100001, 00010101, 10001010

Color Schemes with #21158a

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

Alternatives to #21158a

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

Similar Colors

#21158a Preview

Text with hexadecimal color #21158a

This text has a font color of #21158a.

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

This paragraph has a background color of #21158a.

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

This element has a border color of #21158a.

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

Shades and Tints of #21158a

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

Shade Color Variation
Tint Color Variation

Tones of #21158a

A tone is produced by adding gray to any pure hue. In this case, #4d4c53 is the less saturated color, while #12039c is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #21158a 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
  • #262626 Achromatopsia 0.005% of the population
  • #25233a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00376a Protanopia 1% of men
  • #003a5c Deuteranopia 1% of men
  • #003e41 Tritanopia 0.001% of the population
Trichromacy
  • #0c2a76 Protanomaly 1% of men, 0.01% of women
  • #0c2c6c Deuteranomaly 6% of men, 0.4% of women
  • #0c2f5b Tritanomaly 0.01% of the population