#1f1f87 Color Information

In a RGB color space, hex #1f1f87 is composed of 12.2% red, 12.2% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 77% cyan, 77% magenta, 0% yellow and 47.1% black. It has a hue angle of 240 degrees, a saturation of 62.7% and a lightness of 32.5%. #1f1f87 color hex could be obtained by blending #3e3eff with #00000f. Closest websafe color is: #333399.

    • R 12
    • G 12
    • B 53
    RGB color chart
    • C 77
    • M 77
    • Y 0
    • K 47
    CMYK color chart

#1f1f87 color description : Dark blue.

#1f1f87 Color Conversion

The hexadecimal color #1f1f87 has RGB values of R:31, G:31, B:135 and CMYK values of C:0.77, M:0.77, Y:0, K:0.47. Its decimal value is 2039687.

Hex triplet 1f1f87 #1f1f87
RGB Decimal 31, 31, 135 rgb(31,31,135)
RGB Percent 12.2, 12.2, 52.9 rgb(12.2%,12.2%,52.9%)
CMYK 77, 77, 0, 47
HSL 240°, 62.7, 32.5 hsl(240,62.7%,32.5%)
HSV (or HSB) 240°, 77, 52.9
Web Safe 333399 #333399
CIE-LAB 20.125, 36.83, -57.201
XYZ 5.427, 3.02, 23.217
xyY 0.171, 0.095, 3.02
CIE-LCH 20.125, 68.032, 302.776
CIE-LUV 20.125, -4.579, -63.453
Hunter-Lab 17.379, 25.332, -67.044
Binary 00011111, 00011111, 10000111

Color Schemes with #1f1f87

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

Alternatives to #1f1f87

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

Similar Colors

#1f1f87 Preview

Text with hexadecimal color #1f1f87

This text has a font color of #1f1f87.

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

This paragraph has a background color of #1f1f87.

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

This element has a border color of #1f1f87.

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

Shades and Tints of #1f1f87

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

Shade Color Variation
Tint Color Variation

Tones of #1f1f87

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f1f87 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.

  • #2b2b2b Achromatopsia 0.005% of the population
  • #29293d Atypical Achromatopsia 0.001% of the population
  • #003970 Protanopia 1% of men
  • #003c61 Deuteranopia 1% of men
  • #004144 Tritanopia 0.001% of the population
  • #0b2f78 Protanomaly 1% of men, 0.01% of women
  • #0b326e Deuteranomaly 6% of men, 0.4% of women
  • #0b345c Tritanomaly 0.01% of the population