#21257f Color Information

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

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

#21257f color description : Dark blue.

#21257f Color Conversion

The hexadecimal color #21257f has RGB values of R:33, G:37, B:127 and CMYK values of C:0.74, M:0.71, Y:0, K:0.5. Its decimal value is 2172287.

Hex triplet 21257f #21257f
RGB Decimal 33, 37, 127 rgb(33,37,127)
RGB Percent 12.9, 14.5, 49.8 rgb(12.9%,14.5%,49.8%)
CMYK 74, 71, 0, 50
HSL 237.4°, 58.8, 31.4 hsl(237.4,58.8%,31.4%)
HSV (or HSB) 237.4°, 74, 49.8
Web Safe 333366 #333366
CIE-LAB 20.745, 30.436, -51.129
XYZ 5.119, 3.178, 20.421
xyY 0.178, 0.111, 3.178
CIE-LCH 20.745, 59.502, 300.764
CIE-LUV 20.745, -4.943, -58.666
Hunter-Lab 17.828, 20.051, -55.433
Binary 00100001, 00100101, 01111111

Color Schemes with #21257f

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

Alternatives to #21257f

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

Similar Colors

#21257f Preview

Text with hexadecimal color #21257f

This text has a font color of #21257f.

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

This paragraph has a background color of #21257f.

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

This element has a border color of #21257f.

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

Shades and Tints of #21257f

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 #21257f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #21257f 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
  • #2e2e2e Achromatopsia 0.005% of the population
  • #2b2c3e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003a72 Protanopia 1% of men
  • #003e63 Deuteranopia 1% of men
  • #004246 Tritanopia 0.001% of the population
Trichromacy
  • #0c3277 Protanomaly 1% of men, 0.01% of women
  • #0c356d Deuteranomaly 6% of men, 0.4% of women
  • #0c375a Tritanomaly 0.01% of the population