#21178b Color Information

In a RGB color space, hex #21178b is composed of 12.9% red, 9% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 76.3% cyan, 83.5% magenta, 0% yellow and 45.5% black. It has a hue angle of 245.2 degrees, a saturation of 71.6% and a lightness of 31.8%. #21178b color hex could be obtained by blending #422eff with #000017. Closest websafe color is: #330099.

    • R 13
    • G 9
    • B 55
    RGB color chart
    • C 76
    • M 83
    • Y 0
    • K 45
    CMYK color chart

#21178b color description : Dark blue.

#21178b Color Conversion

The hexadecimal color #21178b has RGB values of R:33, G:23, B:139 and CMYK values of C:0.76, M:0.83, Y:0, K:0.45. Its decimal value is 2168715.

Hex triplet 21178b #21178b
RGB Decimal 33, 23, 139 rgb(33,23,139)
RGB Percent 12.9, 9, 54.5 rgb(12.9%,9%,54.5%)
CMYK 76, 83, 0, 45
HSL 245.2°, 71.6, 31.8 hsl(245.2,71.6%,31.8%)
HSV (or HSB) 245.2°, 83.5, 54.5
Web Safe 330099 #330099
CIE-LAB 19.224, 42.65, -61.197
XYZ 5.593, 2.8, 24.67
xyY 0.169, 0.085, 2.8
CIE-LCH 19.224, 74.593, 304.874
CIE-LUV 19.224, -3.465, -65.255
Hunter-Lab 16.733, 30.38, -75.702
Binary 00100001, 00010111, 10001011

Color Schemes with #21178b

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

Alternatives to #21178b

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

Similar Colors

#21178b Preview

Text with hexadecimal color #21178b

This text has a font color of #21178b.

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

This paragraph has a background color of #21178b.

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

This element has a border color of #21178b.

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

Shades and Tints of #21178b

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

Shade Color Variation
Tint Color Variation

Tones of #21178b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #21178b 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
  • #272727 Achromatopsia 0.005% of the population
  • #26243b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00376c Protanopia 1% of men
  • #003b5d Deuteranopia 1% of men
  • #003f42 Tritanopia 0.001% of the population
Trichromacy
  • #0c2b77 Protanomaly 1% of men, 0.01% of women
  • #0c2e6e Deuteranomaly 6% of men, 0.4% of women
  • #0c305c Tritanomaly 0.01% of the population