#1f172a Color Information
In a RGB color space, hex #1f172a is composed of 12.2% red, 9% green and 16.5% blue. Whereas in a CMYK color space, it is composed of 26.2% cyan, 45.2% magenta, 0% yellow and 83.5% black. It has a hue angle of 265.3 degrees, a saturation of 29.2% and a lightness of 12.7%. #1f172a color hex could be obtained by blending #3e2e54 with #000000. Closest websafe color is: #330033.
-
- R 12
- G 9
- B 16
-
- C 26
- M 45
- Y 0
- K 84
● #1f172a color description : Very dark (mostly black) violet.
#1f172a Color Conversion
The hexadecimal color #1f172a has RGB values of R:31, G:23, B:42 and CMYK values of C:0.26, M:0.45, Y:0, K:0.84. Its decimal value is 2037546.
Hex triplet | 1f172a | #1f172a |
---|---|---|
RGB Decimal | 31, 23, 42 | rgb(31,23,42) |
RGB Percent | 12.2, 9, 16.5 | rgb(12.2%,9%,16.5%) |
CMYK | 26, 45, 0, 84 | |
HSL | 265.3°, 29.2, 12.7 | hsl(265.3,29.2%,12.7%) |
HSV (or HSB) | 265.3°, 45.2, 16.5 | |
Web Safe | 330033 | #330033 |
CIE-LAB | 9.572, 9.024, -11.431 |
---|---|
XYZ | 1.289, 1.071, 2.329 |
xyY | 0.275, 0.228, 1.071 |
CIE-LCH | 9.572, 14.563, 308.288 |
CIE-LUV | 9.572, 1.741, -8.999 |
Hunter-Lab | 10.35, 4.123, -6.097 |
Binary | 00011111, 00010111, 00101010 |
Color Schemes with #1f172a
Alternatives to #1f172a
Below, you can see some colors close to #1f172a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#1f172a Preview
This text has a font color of #1f172a.
<span style="color:#1f172a;">Text here</span>
This paragraph has a background color of #1f172a.
<p style="background-color:#1f172a;">Content here</p>
This element has a border color of #1f172a.
<div style="border:1px solid #1f172a;">Content here</div>
.text {color:#1f172a;}
.background {background-color:#1f172a;}
.border {border:1px solid #1f172a;}
Shades and Tints of #1f172a
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, #030204 is the darkest color, while #f8f6fa is the lightest one.
-
#030204
#030204
rgb(3,2,4)
-
#0c0911
#0c0911
rgb(12,9,17)
-
#16101d
#16101d
rgb(22,16,29)
-
#1f172a
#1f172a
rgb(31,23,42)
-
#281e37
#281e37
rgb(40,30,55)
-
#322543
#322543
rgb(50,37,67)
-
#3b2c50
#3b2c50
rgb(59,44,80)
-
#44335d
#44335d
rgb(68,51,93)
-
#4e3a69
#4e3a69
rgb(78,58,105)
-
#574176
#574176
rgb(87,65,118)
-
#604883
#604883
rgb(96,72,131)
-
#6a4f8f
#6a4f8f
rgb(106,79,143)
-
#73559c
#73559c
rgb(115,85,156)
-
#7d5ea7
#7d5ea7
rgb(125,94,167)
-
#876bae
#876bae
rgb(135,107,174)
-
#9178b5
#9178b5
rgb(145,120,181)
-
#9c84bc
#9c84bc
rgb(156,132,188)
-
#a691c3
#a691c3
rgb(166,145,195)
-
#b09eca
#b09eca
rgb(176,158,202)
-
#baaad1
#baaad1
rgb(186,170,209)
-
#c5b7d8
#c5b7d8
rgb(197,183,216)
-
#cfc4de
#cfc4de
rgb(207,196,222)
-
#d9d0e5
#d9d0e5
rgb(217,208,229)
-
#e3ddec
#e3ddec
rgb(227,221,236)
-
#eeeaf3
#eeeaf3
rgb(238,234,243)
-
#f8f6fa
#f8f6fa
rgb(248,246,250)
Tones of #1f172a
A tone is produced by adding gray to any pure hue. In this case, #201f23 is the less saturated color, while #1b0041 is the most saturated one.
-
#201f23
#201f23
rgb(32,31,35)
-
#201c25
#201c25
rgb(32,28,37)
-
#1f1a28
#1f1a28
rgb(31,26,40)
-
#1f172a
#1f172a
rgb(31,23,42)
-
#1f152d
#1f152d
rgb(31,21,45)
-
#1e122f
#1e122f
rgb(30,18,47)
-
#1e1032
#1e1032
rgb(30,16,50)
-
#1d0d34
#1d0d34
rgb(29,13,52)
-
#1d0b37
#1d0b37
rgb(29,11,55)
-
#1d0839
#1d0839
rgb(29,8,57)
-
#1c053c
#1c053c
rgb(28,5,60)
-
#1c033e
#1c033e
rgb(28,3,62)
-
#1b0041
#1b0041
rgb(27,0,65)
Color Blindness Simulator
Below, you can see how #1f172a 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.