#1f21ab Color Information

In a RGB color space, hex #1f21ab is composed of 12.2% red, 12.9% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 81.9% cyan, 80.7% magenta, 0% yellow and 32.9% black. It has a hue angle of 239.1 degrees, a saturation of 69.3% and a lightness of 39.6%. #1f21ab color hex could be obtained by blending #3e42ff with #000057. Closest websafe color is: #333399.

    • R 12
    • G 13
    • B 67
    RGB color chart
    • C 82
    • M 81
    • Y 0
    • K 33
    CMYK color chart

#1f21ab color description : Dark blue.

#1f21ab Color Conversion

The hexadecimal color #1f21ab has RGB values of R:31, G:33, B:171 and CMYK values of C:0.82, M:0.81, Y:0, K:0.33. Its decimal value is 2040235.

Hex triplet 1f21ab #1f21ab
RGB Decimal 31, 33, 171 rgb(31,33,171)
RGB Percent 12.2, 12.9, 67.1 rgb(12.2%,12.9%,67.1%)
CMYK 82, 81, 0, 33
HSL 239.1°, 69.3, 39.6 hsl(239.1,69.3%,39.6%)
HSV (or HSB) 239.1°, 81.9, 67.1
Web Safe 333399 #333399
CIE-LAB 24.698, 47.804, -71.762
XYZ 8.458, 4.319, 38.914
xyY 0.164, 0.084, 4.319
CIE-LCH 24.698, 86.226, 303.67
CIE-LUV 24.698, -6.343, -84.682
Hunter-Lab 20.782, 36.282, -96.474
Binary 00011111, 00100001, 10101011

Color Schemes with #1f21ab

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

Alternatives to #1f21ab

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

Similar Colors

#1f21ab Preview

Text with hexadecimal color #1f21ab

This text has a font color of #1f21ab.

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

This paragraph has a background color of #1f21ab.

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

This element has a border color of #1f21ab.

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

Shades and Tints of #1f21ab

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

Shade Color Variation
Tint Color Variation

Tones of #1f21ab

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f21ab 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
  • #2d2d49 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004281 Protanopia 1% of men
  • #004670 Deuteranopia 1% of men
  • #004b4f Tritanopia 0.001% of the population
Trichromacy
  • #0b3690 Protanomaly 1% of men, 0.01% of women
  • #0b3985 Deuteranomaly 6% of men, 0.4% of women
  • #0b3c70 Tritanomaly 0.01% of the population