#1f21a8 Color Information

In a RGB color space, hex #1f21a8 is composed of 12.2% red, 12.9% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 81.5% cyan, 80.4% magenta, 0% yellow and 34.1% black. It has a hue angle of 239.1 degrees, a saturation of 68.8% and a lightness of 39%. #1f21a8 color hex could be obtained by blending #3e42ff with #000051. Closest websafe color is: #333399.

    • R 12
    • G 13
    • B 66
    RGB color chart
    • C 82
    • M 80
    • Y 0
    • K 34
    CMYK color chart

#1f21a8 color description : Dark blue.

#1f21a8 Color Conversion

The hexadecimal color #1f21a8 has RGB values of R:31, G:33, B:168 and CMYK values of C:0.82, M:0.8, Y:0, K:0.34. Its decimal value is 2040232.

Hex triplet 1f21a8 #1f21a8
RGB Decimal 31, 33, 168 rgb(31,33,168)
RGB Percent 12.2, 12.9, 65.9 rgb(12.2%,12.9%,65.9%)
CMYK 82, 80, 0, 34
HSL 239.1°, 68.8, 39 hsl(239.1,68.8%,39%)
HSV (or HSB) 239.1°, 81.5, 65.9
Web Safe 333399 #333399
CIE-LAB 24.34, 46.834, -70.545
XYZ 8.175, 4.206, 37.425
xyY 0.164, 0.084, 4.206
CIE-LCH 24.34, 84.676, 303.579
CIE-LUV 24.34, -6.221, -82.934
Hunter-Lab 20.508, 35.271, -93.844
Binary 00011111, 00100001, 10101000

Color Schemes with #1f21a8

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

Alternatives to #1f21a8

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

Similar Colors

#1f21a8 Preview

Text with hexadecimal color #1f21a8

This text has a font color of #1f21a8.

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

This paragraph has a background color of #1f21a8.

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

This element has a border color of #1f21a8.

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

Shades and Tints of #1f21a8

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

Shade Color Variation
Tint Color Variation

Tones of #1f21a8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f21a8 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
  • #2d2d48 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004280 Protanopia 1% of men
  • #00466f Deuteranopia 1% of men
  • #004a4e Tritanopia 0.001% of the population
Trichromacy
  • #0b368e Protanomaly 1% of men, 0.01% of women
  • #0b3883 Deuteranomaly 6% of men, 0.4% of women
  • #0b3b6e Tritanomaly 0.01% of the population