#1f1158 hex color
In a RGB color space, hex #1f1158 is composed of 12.2% red, 6.7% green and 34.5% blue. Whereas in a CMYK color space, it is composed of 64.8% cyan, 80.7% magenta, 0% yellow and 65.5% black. It has a hue angle of 251.8 degrees, a saturation of 67.6% and a lightness of 20.6%. #1f1158 color hex could be obtained by blending #3e22b0 with #000000. Closest websafe color is: #330066.
-
- R 12
- G 7
- B 35
RGB color chart
-
- C 65
- M 81
- Y 0
- K 65
CMYK color chart
● #1f1158 color description : Very dark blue.
The hexadecimal color #1f1158 has RGB values of R:31, G:17, B:88 and CMYK values of C:0.65, M:0.81, Y:0, K:0.65. Its decimal value is 2036056.
Hex triplet | 1f1158 | #1f1158 |
---|---|---|
RGB Decimal | 31, 17, 88 | rgb(31,17,88) |
RGB Percent | 12.2, 6.7, 34.5 | rgb(12.2%,6.7%,34.5%) |
CMYK | 65, 81, 0, 65 | |
HSL | 251.8°, 67.6, 20.6 | hsl(251.8,67.6%,20.6%) |
HSV (or HSB) | 251.8°, 80.7, 34.5 | |
Web Safe | 330066 | #330066 |
CIE-LAB | 11.936, 28.812, -40.129 |
---|---|
XYZ | 2.527, 1.397, 9.368 |
xyY | 0.19, 0.105, 1.397 |
CIE-LCH | 11.936, 49.401, 305.677 |
CIE-LUV | 11.936, -0.296, -34.856 |
Hunter-Lab | 11.818, 17.48, -38.727 |
Binary | 00011111, 00010001, 01011000 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #1f1158. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #1f1158
This text has a font color of #1f1158.
<span style="color:#1f1158;">Text here</span>
#1f1158 background color
This paragraph has a background color of #1f1158.
<p style="background-color:#1f1158;">Content here</p>
#1f1158 border color
This element has a border color of #1f1158.
<div style="border:1px solid #1f1158;">Content here</div>
CSS codes
.text {color:#1f1158;}
.background {background-color:#1f1158;}
.border {border:1px solid #1f1158;}
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, #020106 is the darkest color, while #f6f4fd is the lightest one.
-
#020106
#020106
rgb(2,1,6)
-
#080416
#080416
rgb(8,4,22)
-
#0e0727
#0e0727
rgb(14,7,39)
-
#130b37
#130b37
rgb(19,11,55)
-
#190e48
#190e48
rgb(25,14,72)
-
#1f1158
#1f1158
rgb(31,17,88)
-
#251468
#251468
rgb(37,20,104)
-
#2b1779
#2b1779
rgb(43,23,121)
-
#301b89
#301b89
rgb(48,27,137)
-
#361e9a
#361e9a
rgb(54,30,154)
-
#3c21aa
#3c21aa
rgb(60,33,170)
-
#4224bb
#4224bb
rgb(66,36,187)
-
#4827cb
#4827cb
rgb(72,39,203)
Shade Color Variation
-
#502fd7
#502fd7
rgb(80,47,215)
-
#5e40da
#5e40da
rgb(94,64,218)
-
#6c50dd
#6c50dd
rgb(108,80,221)
-
#7a60e0
#7a60e0
rgb(122,96,224)
-
#8771e4
#8771e4
rgb(135,113,228)
-
#9581e7
#9581e7
rgb(149,129,231)
-
#a392ea
#a392ea
rgb(163,146,234)
-
#b1a2ed
#b1a2ed
rgb(177,162,237)
-
#bfb3f0
#bfb3f0
rgb(191,179,240)
-
#cdc3f3
#cdc3f3
rgb(205,195,243)
-
#dad3f7
#dad3f7
rgb(218,211,247)
-
#e8e4fa
#e8e4fa
rgb(232,228,250)
-
#f6f4fd
#f6f4fd
rgb(246,244,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #333138 is the less saturated color, while #150168 is the most saturated one.
-
#333138
#333138
rgb(51,49,56)
-
#302d3c
#302d3c
rgb(48,45,60)
-
#2e2940
#2e2940
rgb(46,41,64)
-
#2b2544
#2b2544
rgb(43,37,68)
-
#292148
#292148
rgb(41,33,72)
-
#261d4c
#261d4c
rgb(38,29,76)
-
#241950
#241950
rgb(36,25,80)
-
#211554
#211554
rgb(33,21,84)
-
#1f1158
#1f1158
rgb(31,17,88)
-
#1d0d5c
#1d0d5c
rgb(29,13,92)
-
#1a0960
#1a0960
rgb(26,9,96)
-
#180564
#180564
rgb(24,5,100)
-
#150168
#150168
rgb(21,1,104)
Tone Color Variation
Below, you can see how #1f1158 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
Dichromacy