#21287f Color Information

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

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

#21287f color description : Dark blue.

#21287f Color Conversion

The hexadecimal color #21287f has RGB values of R:33, G:40, B:127 and CMYK values of C:0.74, M:0.69, Y:0, K:0.5. Its decimal value is 2173055.

Hex triplet 21287f #21287f
RGB Decimal 33, 40, 127 rgb(33,40,127)
RGB Percent 12.9, 15.7, 49.8 rgb(12.9%,15.7%,49.8%)
CMYK 74, 69, 0, 50
HSL 235.5°, 58.8, 31.4 hsl(235.5,58.8%,31.4%)
HSV (or HSB) 235.5°, 74, 49.8
Web Safe 333366 #333366
CIE-LAB 21.479, 28.458, -49.923
XYZ 5.216, 3.373, 20.454
xyY 0.18, 0.116, 3.373
CIE-LCH 21.479, 57.464, 299.684
CIE-LUV 21.479, -5.522, -58.432
Hunter-Lab 18.365, 18.556, -53.175
Binary 00100001, 00101000, 01111111

Color Schemes with #21287f

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

Alternatives to #21287f

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

Similar Colors

#21287f Preview

Text with hexadecimal color #21287f

This text has a font color of #21287f.

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

This paragraph has a background color of #21287f.

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

This element has a border color of #21287f.

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

Shades and Tints of #21287f

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

Shade Color Variation
Tint Color Variation

Tones of #21287f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #21287f 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
  • #303030 Achromatopsia 0.005% of the population
  • #2d2e40 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003c75 Protanopia 1% of men
  • #003f66 Deuteranopia 1% of men
  • #004448 Tritanopia 0.001% of the population
Trichromacy
  • #0c3479 Protanomaly 1% of men, 0.01% of women
  • #0c376f Deuteranomaly 6% of men, 0.4% of women
  • #0c395c Tritanomaly 0.01% of the population