#21227a Color Information

In a RGB color space, hex #21227a is composed of 12.9% red, 13.3% green and 47.8% blue. Whereas in a CMYK color space, it is composed of 73% cyan, 72.1% magenta, 0% yellow and 52.2% black. It has a hue angle of 239.3 degrees, a saturation of 57.4% and a lightness of 30.4%. #21227a color hex could be obtained by blending #4244f4 with #000000. Closest websafe color is: #333366.

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

#21227a color description : Dark blue.

#21227a Color Conversion

The hexadecimal color #21227a has RGB values of R:33, G:34, B:122 and CMYK values of C:0.73, M:0.72, Y:0, K:0.52. Its decimal value is 2171514.

Hex triplet 21227a #21227a
RGB Decimal 33, 34, 122 rgb(33,34,122)
RGB Percent 12.9, 13.3, 47.8 rgb(12.9%,13.3%,47.8%)
CMYK 73, 72, 0, 52
HSL 239.3°, 57.4, 30.4 hsl(239.3,57.4%,30.4%)
HSV (or HSB) 239.3°, 73, 47.8
Web Safe 333366 #333366
CIE-LAB 19.525, 30.546, -49.955
XYZ 4.711, 2.872, 18.717
xyY 0.179, 0.109, 2.872
CIE-LCH 19.525, 58.554, 301.444
CIE-LUV 19.525, -4.199, -55.752
Hunter-Lab 16.948, 19.963, -53.617
Binary 00100001, 00100010, 01111010

Color Schemes with #21227a

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

Alternatives to #21227a

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

Similar Colors

#21227a Preview

Text with hexadecimal color #21227a

This text has a font color of #21227a.

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

This paragraph has a background color of #21227a.

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

This element has a border color of #21227a.

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

Shades and Tints of #21227a

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, #04040e is the darkest color, while #fdfdff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #21227a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #21227a 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
  • #2c2c2c Achromatopsia 0.005% of the population
  • #2a2a3c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00386d Protanopia 1% of men
  • #003b5f Deuteranopia 1% of men
  • #003f43 Tritanopia 0.001% of the population
Trichromacy
  • #0c3072 Protanomaly 1% of men, 0.01% of women
  • #0c3269 Deuteranomaly 6% of men, 0.4% of women
  • #0c3457 Tritanomaly 0.01% of the population