#1f1f2a Color Information

In a RGB color space, hex #1f1f2a is composed of 12.2% red, 12.2% green and 16.5% blue. Whereas in a CMYK color space, it is composed of 26.2% cyan, 26.2% magenta, 0% yellow and 83.5% black. It has a hue angle of 240 degrees, a saturation of 15.1% and a lightness of 14.3%. #1f1f2a color hex could be obtained by blending #3e3e54 with #000000. Closest websafe color is: #333333.

    • R 12
    • G 12
    • B 16
    RGB color chart
    • C 26
    • M 26
    • Y 0
    • K 84
    CMYK color chart

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

#1f1f2a Color Conversion

The hexadecimal color #1f1f2a has RGB values of R:31, G:31, B:42 and CMYK values of C:0.26, M:0.26, Y:0, K:0.84. Its decimal value is 2039594.

Hex triplet 1f1f2a #1f1f2a
RGB Decimal 31, 31, 42 rgb(31,31,42)
RGB Percent 12.2, 12.2, 16.5 rgb(12.2%,12.2%,16.5%)
CMYK 26, 26, 0, 84
HSL 240°, 15.1, 14.3 hsl(240,15.1%,14.3%)
HSV (or HSB) 240°, 26.2, 16.5
Web Safe 333333 #333333
CIE-LAB 12.211, 3.057, -7.362
XYZ 1.473, 1.438, 2.39
xyY 0.278, 0.271, 1.438
CIE-LCH 12.211, 7.971, 292.549
CIE-LUV 12.211, -0.458, -6.343
Hunter-Lab 11.993, 0.933, -3.422
Binary 00011111, 00011111, 00101010

Color Schemes with #1f1f2a

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

Alternatives to #1f1f2a

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

Similar Colors

#1f1f2a Preview

Text with hexadecimal color #1f1f2a

This text has a font color of #1f1f2a.

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

This paragraph has a background color of #1f1f2a.

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

This element has a border color of #1f1f2a.

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

Shades and Tints of #1f1f2a

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

Shade Color Variation
Tint Color Variation

Tones of #1f1f2a

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

Tone Color Variation

Color Blindness Simulator

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

  • #202020 Achromatopsia 0.005% of the population
  • #202022 Atypical Achromatopsia 0.001% of the population
  • #282b35 Protanopia 1% of men
  • #2a2a35 Deuteranopia 1% of men
  • #292b2e Tritanopia 0.001% of the population
  • #252631 Protanomaly 1% of men, 0.01% of women
  • #262631 Deuteranomaly 6% of men, 0.4% of women
  • #25272d Tritanomaly 0.01% of the population