#1f21a4 Color Information

In a RGB color space, hex #1f21a4 is composed of 12.2% red, 12.9% green and 64.3% blue. Whereas in a CMYK color space, it is composed of 81.1% cyan, 79.9% magenta, 0% yellow and 35.7% black. It has a hue angle of 239.1 degrees, a saturation of 68.2% and a lightness of 38.2%. #1f21a4 color hex could be obtained by blending #3e42ff with #000049. Closest websafe color is: #333399.

    • R 12
    • G 13
    • B 64
    RGB color chart
    • C 81
    • M 80
    • Y 0
    • K 36
    CMYK color chart

#1f21a4 color description : Dark blue.

#1f21a4 Color Conversion

The hexadecimal color #1f21a4 has RGB values of R:31, G:33, B:164 and CMYK values of C:0.81, M:0.8, Y:0, K:0.36. Its decimal value is 2040228.

Hex triplet 1f21a4 #1f21a4
RGB Decimal 31, 33, 164 rgb(31,33,164)
RGB Percent 12.2, 12.9, 64.3 rgb(12.2%,12.9%,64.3%)
CMYK 81, 80, 0, 36
HSL 239.1°, 68.2, 38.2 hsl(239.1,68.2%,38.2%)
HSV (or HSB) 239.1°, 81.1, 64.3
Web Safe 333399 #333399
CIE-LAB 23.865, 45.528, -68.91
XYZ 7.808, 4.059, 35.492
xyY 0.165, 0.086, 4.059
CIE-LCH 23.865, 82.591, 303.452
CIE-LUV 23.865, -6.059, -80.6
Hunter-Lab 20.147, 33.927, -90.348
Binary 00011111, 00100001, 10100100

Color Schemes with #1f21a4

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

Alternatives to #1f21a4

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

Similar Colors

#1f21a4 Preview

Text with hexadecimal color #1f21a4

This text has a font color of #1f21a4.

<span style="color:#1f21a4;">Text here</span>
#1f21a4 background color

This paragraph has a background color of #1f21a4.

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

This element has a border color of #1f21a4.

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

Shades and Tints of #1f21a4

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

Shade Color Variation
Tint Color Variation

Tones of #1f21a4

A tone is produced by adding gray to any pure hue. In this case, #5b5b68 is the less saturated color, while #0104c2 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f21a4 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
  • #2f2f2f Achromatopsia 0.005% of the population
  • #2c2c46 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00417e Protanopia 1% of men
  • #00456d Deuteranopia 1% of men
  • #00494d Tritanopia 0.001% of the population
Trichromacy
  • #0b358c Protanomaly 1% of men, 0.01% of women
  • #0b3781 Deuteranomaly 6% of men, 0.4% of women
  • #0b3a6c Tritanomaly 0.01% of the population