#1f1f31 Color Information

In a RGB color space, hex #1f1f31 is composed of 12.2% red, 12.2% green and 19.2% blue. Whereas in a CMYK color space, it is composed of 36.7% cyan, 36.7% magenta, 0% yellow and 80.8% black. It has a hue angle of 240 degrees, a saturation of 22.5% and a lightness of 15.7%. #1f1f31 color hex could be obtained by blending #3e3e62 with #000000. Closest websafe color is: #333333.

    • R 12
    • G 12
    • B 19
    RGB color chart
    • C 37
    • M 37
    • Y 0
    • K 81
    CMYK color chart

#1f1f31 color description : Very dark (mostly black) blue.

#1f1f31 Color Conversion

The hexadecimal color #1f1f31 has RGB values of R:31, G:31, B:49 and CMYK values of C:0.37, M:0.37, Y:0, K:0.81. Its decimal value is 2039601.

Hex triplet 1f1f31 #1f1f31
RGB Decimal 31, 31, 49 rgb(31,31,49)
RGB Percent 12.2, 12.2, 19.2 rgb(12.2%,12.2%,19.2%)
CMYK 37, 37, 0, 81
HSL 240°, 22.5, 15.7 hsl(240,22.5%,15.7%)
HSV (or HSB) 240°, 36.7, 19.2
Web Safe 333333 #333333
CIE-LAB 12.564, 5.274, -11.882
XYZ 1.609, 1.493, 3.109
xyY 0.259, 0.24, 1.493
CIE-LCH 12.564, 12.999, 293.934
CIE-LUV 12.564, -0.769, -10.649
Hunter-Lab 12.219, 2.127, -6.532
Binary 00011111, 00011111, 00110001

Color Schemes with #1f1f31

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

Alternatives to #1f1f31

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

Similar Colors

#1f1f31 Preview

Text with hexadecimal color #1f1f31

This text has a font color of #1f1f31.

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

This paragraph has a background color of #1f1f31.

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

This element has a border color of #1f1f31.

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

Shades and Tints of #1f1f31

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

Shade Color Variation
Tint Color Variation

Tones of #1f1f31

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

Tone Color Variation

Color Blindness Simulator

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

  • #212121 Achromatopsia 0.005% of the population
  • #212124 Atypical Achromatopsia 0.001% of the population
  • #262b3c Protanopia 1% of men
  • #262b3b Deuteranopia 1% of men
  • #272d30 Tritanopia 0.001% of the population
  • #232738 Protanomaly 1% of men, 0.01% of women
  • #242737 Deuteranomaly 6% of men, 0.4% of women
  • #242730 Tritanomaly 0.01% of the population