#1f1940 Color Information

In a RGB color space, hex #1f1940 is composed of 12.2% red, 9.8% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 51.6% cyan, 60.9% magenta, 0% yellow and 74.9% black. It has a hue angle of 249.2 degrees, a saturation of 43.8% and a lightness of 17.5%. #1f1940 color hex could be obtained by blending #3e3280 with #000000. Closest websafe color is: #330033.

    • R 12
    • G 10
    • B 25
    RGB color chart
    • C 52
    • M 61
    • Y 0
    • K 75
    CMYK color chart

#1f1940 color description : Very dark blue.

#1f1940 Color Conversion

The hexadecimal color #1f1940 has RGB values of R:31, G:25, B:64 and CMYK values of C:0.52, M:0.61, Y:0, K:0.75. Its decimal value is 2038080.

Hex triplet 1f1940 #1f1940
RGB Decimal 31, 25, 64 rgb(31,25,64)
RGB Percent 12.2, 9.8, 25.1 rgb(12.2%,9.8%,25.1%)
CMYK 52, 61, 0, 75
HSL 249.2°, 43.8, 17.5 hsl(249.2,43.8%,17.5%)
HSV (or HSB) 249.2°, 60.9, 25.1
Web Safe 330033 #330033
CIE-LAB 11.666, 14.953, -23.992
XYZ 1.838, 1.357, 5.015
xyY 0.224, 0.165, 1.357
CIE-LCH 11.666, 28.27, 301.934
CIE-LUV 11.666, -0.059, -21.294
Hunter-Lab 11.648, 7.783, -17.375
Binary 00011111, 00011001, 01000000

Color Schemes with #1f1940

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

Alternatives to #1f1940

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

Similar Colors

#1f1940 Preview

Text with hexadecimal color #1f1940

This text has a font color of #1f1940.

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

This paragraph has a background color of #1f1940.

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

This element has a border color of #1f1940.

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

Shades and Tints of #1f1940

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

Shade Color Variation
Tint Color Variation

Tones of #1f1940

A tone is produced by adding gray to any pure hue. In this case, #2b2a2f is the less saturated color, while #0e0158 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

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

  • #1f1f1f Achromatopsia 0.005% of the population
  • #1f1e26 Atypical Achromatopsia 0.001% of the population
  • #11294d Protanopia 1% of men
  • #0a2b47 Deuteranopia 1% of men
  • #212c2f Tritanopia 0.001% of the population
  • #162348 Protanomaly 1% of men, 0.01% of women
  • #112444 Deuteranomaly 6% of men, 0.4% of women
  • #202535 Tritanomaly 0.01% of the population