#1f172e Color Information

In a RGB color space, hex #1f172e is composed of 12.2% red, 9% green and 18% blue. Whereas in a CMYK color space, it is composed of 32.6% cyan, 50% magenta, 0% yellow and 82% black. It has a hue angle of 260.9 degrees, a saturation of 33.3% and a lightness of 13.5%. #1f172e color hex could be obtained by blending #3e2e5c with #000000. Closest websafe color is: #330033.

    • R 12
    • G 9
    • B 18
    RGB color chart
    • C 33
    • M 50
    • Y 0
    • K 82
    CMYK color chart

#1f172e color description : Very dark (mostly black) violet.

#1f172e Color Conversion

The hexadecimal color #1f172e has RGB values of R:31, G:23, B:46 and CMYK values of C:0.33, M:0.5, Y:0, K:0.82. Its decimal value is 2037550.

Hex triplet 1f172e #1f172e
RGB Decimal 31, 23, 46 rgb(31,23,46)
RGB Percent 12.2, 9, 18 rgb(12.2%,9%,18%)
CMYK 33, 50, 0, 82
HSL 260.9°, 33.3, 13.5 hsl(260.9,33.3%,13.5%)
HSV (or HSB) 260.9°, 50, 18
Web Safe 330033 #330033
CIE-LAB 9.809, 10.276, -14.006
XYZ 1.365, 1.101, 2.725
xyY 0.263, 0.212, 1.101
CIE-LCH 9.809, 17.371, 306.268
CIE-LUV 9.809, 1.479, -11.22
Hunter-Lab 10.495, 4.844, -8.051
Binary 00011111, 00010111, 00101110

Color Schemes with #1f172e

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

Alternatives to #1f172e

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

Similar Colors

#1f172e Preview

Text with hexadecimal color #1f172e

This text has a font color of #1f172e.

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

This paragraph has a background color of #1f172e.

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

This element has a border color of #1f172e.

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

Shades and Tints of #1f172e

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

Shade Color Variation
Tint Color Variation

Tones of #1f172e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f172e 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
  • #1c1c1c Achromatopsia 0.005% of the population
  • #1d1b20 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1e263b Protanopia 1% of men
  • #1f2637 Deuteranopia 1% of men
  • #272629 Tritanopia 0.001% of the population
Trichromacy
  • #1e2036 Protanomaly 1% of men, 0.01% of women
  • #1f2134 Deuteranomaly 6% of men, 0.4% of women
  • #24202b Tritanomaly 0.01% of the population