#1f21a2 Color Information

In a RGB color space, hex #1f21a2 is composed of 12.2% red, 12.9% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 80.9% cyan, 79.6% magenta, 0% yellow and 36.5% black. It has a hue angle of 239.1 degrees, a saturation of 67.9% and a lightness of 37.8%. #1f21a2 color hex could be obtained by blending #3e42ff with #000045. 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

#1f21a2 color description : Dark blue.

#1f21a2 Color Conversion

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

Hex triplet 1f21a2 #1f21a2
RGB Decimal 31, 33, 162 rgb(31,33,162)
RGB Percent 12.2, 12.9, 63.5 rgb(12.2%,12.9%,63.5%)
CMYK 81, 80, 0, 36
HSL 239.1°, 67.9, 37.8 hsl(239.1,67.9%,37.8%)
HSV (or HSB) 239.1°, 80.9, 63.5
Web Safe 333399 #333399
CIE-LAB 23.629, 44.869, -68.086
XYZ 7.629, 3.987, 34.548
xyY 0.165, 0.086, 3.987
CIE-LCH 23.629, 81.541, 303.385
CIE-LUV 23.629, -5.978, -79.431
Hunter-Lab 19.968, 33.257, -88.605
Binary 00011111, 00100001, 10100010

Color Schemes with #1f21a2

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

Alternatives to #1f21a2

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

Similar Colors

#1f21a2 Preview

Text with hexadecimal color #1f21a2

This text has a font color of #1f21a2.

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

This paragraph has a background color of #1f21a2.

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

This element has a border color of #1f21a2.

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

Shades and Tints of #1f21a2

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, #03030e is the darkest color, while #fcfcfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #1f21a2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f21a2 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
  • #00407d Protanopia 1% of men
  • #00446c Deuteranopia 1% of men
  • #00494c Tritanopia 0.001% of the population
Trichromacy
  • #0b358a Protanomaly 1% of men, 0.01% of women
  • #0b3780 Deuteranomaly 6% of men, 0.4% of women
  • #0b3a6b Tritanomaly 0.01% of the population