#21227e Color Information

In a RGB color space, hex #21227e is composed of 12.9% red, 13.3% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 73.8% cyan, 73% magenta, 0% yellow and 50.6% black. It has a hue angle of 239.4 degrees, a saturation of 58.5% and a lightness of 31.2%. #21227e color hex could be obtained by blending #4244fc with #000000. Closest websafe color is: #333366.

    • R 13
    • G 13
    • B 49
    RGB color chart
    • C 74
    • M 73
    • Y 0
    • K 51
    CMYK color chart

#21227e color description : Dark blue.

#21227e Color Conversion

The hexadecimal color #21227e has RGB values of R:33, G:34, B:126 and CMYK values of C:0.74, M:0.73, Y:0, K:0.51. Its decimal value is 2171518.

Hex triplet 21227e #21227e
RGB Decimal 33, 34, 126 rgb(33,34,126)
RGB Percent 12.9, 13.3, 49.4 rgb(12.9%,13.3%,49.4%)
CMYK 74, 73, 0, 51
HSL 239.4°, 58.5, 31.2 hsl(239.4,58.5%,31.2%)
HSV (or HSB) 239.4°, 73.8, 49.4
Web Safe 333366 #333366
CIE-LAB 19.937, 31.999, -51.823
XYZ 4.964, 2.973, 20.05
xyY 0.177, 0.106, 2.973
CIE-LCH 19.937, 60.906, 301.694
CIE-LUV 19.937, -4.367, -58.167
Hunter-Lab 17.244, 21.213, -56.868
Binary 00100001, 00100010, 01111110

Color Schemes with #21227e

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

Alternatives to #21227e

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

Similar Colors

#21227e Preview

Text with hexadecimal color #21227e

This text has a font color of #21227e.

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

This paragraph has a background color of #21227e.

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

This element has a border color of #21227e.

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

Shades and Tints of #21227e

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 #f1f1fb is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #21227e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #21227e 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
  • #00396f Protanopia 1% of men
  • #003c60 Deuteranopia 1% of men
  • #004044 Tritanopia 0.001% of the population
Trichromacy
  • #0c3074 Protanomaly 1% of men, 0.01% of women
  • #0c326b Deuteranomaly 6% of men, 0.4% of women
  • #0c3559 Tritanomaly 0.01% of the population