#1f172c Color Information
In a RGB color space, hex #1f172c is composed of 12.2% red, 9% green and 17.3% blue. Whereas in a CMYK color space, it is composed of 29.5% cyan, 47.7% magenta, 0% yellow and 82.7% black. It has a hue angle of 262.9 degrees, a saturation of 31.3% and a lightness of 13.1%. #1f172c color hex could be obtained by blending #3e2e58 with #000000. Closest websafe color is: #330033.
-
- R 12
- G 9
- B 17
-
- C 30
- M 48
- Y 0
- K 83
● #1f172c color description : Very dark (mostly black) violet.
#1f172c Color Conversion
The hexadecimal color #1f172c has RGB values of R:31, G:23, B:44 and CMYK values of C:0.3, M:0.48, Y:0, K:0.83. Its decimal value is 2037548.
Hex triplet | 1f172c | #1f172c |
---|---|---|
RGB Decimal | 31, 23, 44 | rgb(31,23,44) |
RGB Percent | 12.2, 9, 17.3 | rgb(12.2%,9%,17.3%) |
CMYK | 30, 48, 0, 83 | |
HSL | 262.9°, 31.3, 13.1 | hsl(262.9,31.3%,13.1%) |
HSV (or HSB) | 262.9°, 47.7, 17.3 | |
Web Safe | 330033 | #330033 |
CIE-LAB | 9.688, 9.643, -12.725 |
---|---|
XYZ | 1.326, 1.086, 2.522 |
xyY | 0.269, 0.22, 1.086 |
CIE-LCH | 9.688, 15.966, 307.155 |
CIE-LUV | 9.688, 1.61, -10.104 |
Hunter-Lab | 10.421, 4.477, -7.057 |
Binary | 00011111, 00010111, 00101100 |
Color Schemes with #1f172c
Alternatives to #1f172c
Below, you can see some colors close to #1f172c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#1f172c Preview
This text has a font color of #1f172c.
<span style="color:#1f172c;">Text here</span>
This paragraph has a background color of #1f172c.
<p style="background-color:#1f172c;">Content here</p>
This element has a border color of #1f172c.
<div style="border:1px solid #1f172c;">Content here</div>
.text {color:#1f172c;}
.background {background-color:#1f172c;}
.border {border:1px solid #1f172c;}
Shades and Tints of #1f172c
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, #040305 is the darkest color, while #f9f7fb is the lightest one.
-
#040305
#040305
rgb(4,3,5)
-
#0d0a12
#0d0a12
rgb(13,10,18)
-
#16101f
#16101f
rgb(22,16,31)
-
#1f172c
#1f172c
rgb(31,23,44)
-
#281e39
#281e39
rgb(40,30,57)
-
#312446
#312446
rgb(49,36,70)
-
#3a2b53
#3a2b53
rgb(58,43,83)
-
#433260
#433260
rgb(67,50,96)
-
#4c396c
#4c396c
rgb(76,57,108)
-
#553f79
#553f79
rgb(85,63,121)
-
#5f4686
#5f4686
rgb(95,70,134)
-
#684d93
#684d93
rgb(104,77,147)
-
#7154a0
#7154a0
rgb(113,84,160)
-
#7a5daa
#7a5daa
rgb(122,93,170)
-
#856ab1
#856ab1
rgb(133,106,177)
-
#8f77b8
#8f77b8
rgb(143,119,184)
-
#9a84be
#9a84be
rgb(154,132,190)
-
#a590c5
#a590c5
rgb(165,144,197)
-
#af9dcc
#af9dcc
rgb(175,157,204)
-
#baaad3
#baaad3
rgb(186,170,211)
-
#c4b7d9
#c4b7d9
rgb(196,183,217)
-
#cfc4e0
#cfc4e0
rgb(207,196,224)
-
#d9d1e7
#d9d1e7
rgb(217,209,231)
-
#e4deee
#e4deee
rgb(228,222,238)
-
#eeebf4
#eeebf4
rgb(238,235,244)
-
#f9f7fb
#f9f7fb
rgb(249,247,251)
Tones of #1f172c
A tone is produced by adding gray to any pure hue. In this case, #212122 is the less saturated color, while #1a0241 is the most saturated one.
-
#212122
#212122
rgb(33,33,34)
-
#211f24
#211f24
rgb(33,31,36)
-
#201c27
#201c27
rgb(32,28,39)
-
#201a29
#201a29
rgb(32,26,41)
-
#1f172c
#1f172c
rgb(31,23,44)
-
#1e142f
#1e142f
rgb(30,20,47)
-
#1e1231
#1e1231
rgb(30,18,49)
-
#1d0f34
#1d0f34
rgb(29,15,52)
-
#1d0d36
#1d0d36
rgb(29,13,54)
-
#1c0a39
#1c0a39
rgb(28,10,57)
-
#1b083b
#1b083b
rgb(27,8,59)
-
#1b053e
#1b053e
rgb(27,5,62)
-
#1a0241
#1a0241
rgb(26,2,65)
Color Blindness Simulator
Below, you can see how #1f172c 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.