#21227f Color Information

In a RGB color space, hex #21227f is composed of 12.9% red, 13.3% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 74% cyan, 73.2% magenta, 0% yellow and 50.2% black. It has a hue angle of 239.4 degrees, a saturation of 58.8% and a lightness of 31.4%. #21227f color hex could be obtained by blending #4244fe with #000000. Closest websafe color is: #333366.

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

#21227f color description : Dark blue.

#21227f Color Conversion

The hexadecimal color #21227f has RGB values of R:33, G:34, B:127 and CMYK values of C:0.74, M:0.73, Y:0, K:0.5. Its decimal value is 2171519.

Hex triplet 21227f #21227f
RGB Decimal 33, 34, 127 rgb(33,34,127)
RGB Percent 12.9, 13.3, 49.8 rgb(12.9%,13.3%,49.8%)
CMYK 74, 73, 0, 50
HSL 239.4°, 58.8, 31.4 hsl(239.4,58.8%,31.4%)
HSV (or HSB) 239.4°, 74, 49.8
Web Safe 333366 #333366
CIE-LAB 20.042, 32.36, -52.286
XYZ 5.029, 2.999, 20.391
xyY 0.177, 0.106, 2.999
CIE-LCH 20.042, 61.49, 301.754
CIE-LUV 20.042, -4.409, -58.769
Hunter-Lab 17.319, 21.527, -57.686
Binary 00100001, 00100010, 01111111

Color Schemes with #21227f

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

Alternatives to #21227f

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

Similar Colors

#21227f Preview

Text with hexadecimal color #21227f

This text has a font color of #21227f.

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

This paragraph has a background color of #21227f.

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

This element has a border color of #21227f.

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

Shades and Tints of #21227f

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

Shade Color Variation
Tint Color Variation

Tones of #21227f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #21227f 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
  • #2a2a3d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00396f Protanopia 1% of men
  • #003c61 Deuteranopia 1% of men
  • #004144 Tritanopia 0.001% of the population
Trichromacy
  • #0c3075 Protanomaly 1% of men, 0.01% of women
  • #0c336c Deuteranomaly 6% of men, 0.4% of women
  • #0c3559 Tritanomaly 0.01% of the population