#21157a Color Information

In a RGB color space, hex #21157a is composed of 12.9% red, 8.2% green and 47.8% blue. Whereas in a CMYK color space, it is composed of 73% cyan, 82.8% magenta, 0% yellow and 52.2% black. It has a hue angle of 247.1 degrees, a saturation of 70.6% and a lightness of 28%. #21157a color hex could be obtained by blending #422af4 with #000000. Closest websafe color is: #330066.

    • R 13
    • G 8
    • B 48
    RGB color chart
    • C 73
    • M 83
    • Y 0
    • K 52
    CMYK color chart

#21157a color description : Dark blue.

#21157a Color Conversion

The hexadecimal color #21157a has RGB values of R:33, G:21, B:122 and CMYK values of C:0.73, M:0.83, Y:0, K:0.52. Its decimal value is 2168186.

Hex triplet 21157a #21157a
RGB Decimal 33, 21, 122 rgb(33,21,122)
RGB Percent 12.9, 8.2, 47.8 rgb(12.9%,8.2%,47.8%)
CMYK 73, 83, 0, 52
HSL 247.1°, 70.6, 28 hsl(247.1,70.6%,28%)
HSV (or HSB) 247.1°, 82.8, 47.8
Web Safe 330066 #330066
CIE-LAB 16.819, 38.175, -54.42
XYZ 4.408, 2.265, 18.616
xyY 0.174, 0.09, 2.265
CIE-LCH 16.819, 66.475, 305.049
CIE-LUV 16.819, -2.346, -55.105
Hunter-Lab 15.049, 25.946, -62.812
Binary 00100001, 00010101, 01111010

Color Schemes with #21157a

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

Alternatives to #21157a

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

Similar Colors

#21157a Preview

Text with hexadecimal color #21157a

This text has a font color of #21157a.

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

This paragraph has a background color of #21157a.

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

This element has a border color of #21157a.

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

Shades and Tints of #21157a

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

Shade Color Variation
Tint Color Variation

Tones of #21157a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #21157a 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
  • #242424 Achromatopsia 0.005% of the population
  • #232135 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003363 Protanopia 1% of men
  • #003656 Deuteranopia 1% of men
  • #00393c Tritanopia 0.001% of the population
Trichromacy
  • #0c286b Protanomaly 1% of men, 0.01% of women
  • #0c2a63 Deuteranomaly 6% of men, 0.4% of women
  • #0c2c53 Tritanomaly 0.01% of the population