#1f172b Color Information

In a RGB color space, hex #1f172b is composed of 12.2% red, 9% green and 16.9% blue. Whereas in a CMYK color space, it is composed of 27.9% cyan, 46.5% magenta, 0% yellow and 83.1% black. It has a hue angle of 264 degrees, a saturation of 30.3% and a lightness of 12.9%. #1f172b color hex could be obtained by blending #3e2e56 with #000000. Closest websafe color is: #330033.

    • R 12
    • G 9
    • B 17
    RGB color chart
    • C 28
    • M 47
    • Y 0
    • K 83
    CMYK color chart

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

#1f172b Color Conversion

The hexadecimal color #1f172b has RGB values of R:31, G:23, B:43 and CMYK values of C:0.28, M:0.47, Y:0, K:0.83. Its decimal value is 2037547.

Hex triplet 1f172b #1f172b
RGB Decimal 31, 23, 43 rgb(31,23,43)
RGB Percent 12.2, 9, 16.9 rgb(12.2%,9%,16.9%)
CMYK 28, 47, 0, 83
HSL 264°, 30.3, 12.9 hsl(264,30.3%,12.9%)
HSV (or HSB) 264°, 46.5, 16.9
Web Safe 330033 #330033
CIE-LAB 9.629, 9.332, -12.08
XYZ 1.307, 1.079, 2.425
xyY 0.272, 0.224, 1.079
CIE-LCH 9.629, 15.264, 307.687
CIE-LUV 9.629, 1.676, -9.55
Hunter-Lab 10.385, 4.298, -6.573
Binary 00011111, 00010111, 00101011

Color Schemes with #1f172b

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

Alternatives to #1f172b

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

Similar Colors

#1f172b Preview

Text with hexadecimal color #1f172b

This text has a font color of #1f172b.

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

This paragraph has a background color of #1f172b.

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

This element has a border color of #1f172b.

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

Shades and Tints of #1f172b

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

Shade Color Variation
Tint Color Variation

Tones of #1f172b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f172b 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
  • #1d1b1f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1f2638 Protanopia 1% of men
  • #212634 Deuteranopia 1% of men
  • #272628 Tritanopia 0.001% of the population
Trichromacy
  • #1f2033 Protanomaly 1% of men, 0.01% of women
  • #202031 Deuteranomaly 6% of men, 0.4% of women
  • #242029 Tritanomaly 0.01% of the population