#21227b Color Information

In a RGB color space, hex #21227b is composed of 12.9% red, 13.3% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 73.2% cyan, 72.4% magenta, 0% yellow and 51.8% black. It has a hue angle of 239.3 degrees, a saturation of 57.7% and a lightness of 30.6%. #21227b color hex could be obtained by blending #4244f6 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

#21227b color description : Dark blue.

#21227b Color Conversion

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

Hex triplet 21227b #21227b
RGB Decimal 33, 34, 123 rgb(33,34,123)
RGB Percent 12.9, 13.3, 48.2 rgb(12.9%,13.3%,48.2%)
CMYK 73, 72, 0, 52
HSL 239.3°, 57.7, 30.6 hsl(239.3,57.7%,30.6%)
HSV (or HSB) 239.3°, 73.2, 48.2
Web Safe 333366 #333366
CIE-LAB 19.627, 30.911, -50.425
XYZ 4.774, 2.897, 19.045
xyY 0.179, 0.108, 2.897
CIE-LCH 19.627, 59.145, 301.508
CIE-LUV 19.627, -4.241, -56.357
Hunter-Lab 17.021, 20.274, -54.427
Binary 00100001, 00100010, 01111011

Color Schemes with #21227b

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

Alternatives to #21227b

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

Similar Colors

#21227b Preview

Text with hexadecimal color #21227b

This text has a font color of #21227b.

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

This paragraph has a background color of #21227b.

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

This element has a border color of #21227b.

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

Shades and Tints of #21227b

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

Shade Color Variation
Tint Color Variation

Tones of #21227b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #21227b 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
  • #00386e Protanopia 1% of men
  • #003b5f Deuteranopia 1% of men
  • #004043 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
  • #0c3557 Tritanomaly 0.01% of the population