#1f157f hex color
In a RGB color space, hex #1f157f is composed of 12.2% red, 8.2% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 75.6% cyan, 83.5% magenta, 0% yellow and 50.2% black. It has a hue angle of 245.7 degrees, a saturation of 71.6% and a lightness of 29%. #1f157f color hex could be obtained by blending #3e2afe with #000000. Closest websafe color is: #330066.
-
- R 12
- G 8
- B 50
RGB color chart
-
- C 76
- M 83
- Y 0
- K 50
CMYK color chart
● #1f157f color description : Dark blue.
The hexadecimal color #1f157f has RGB values of R:31, G:21, B:127 and CMYK values of C:0.76, M:0.83, Y:0, K:0.5. Its decimal value is 2037119.
Hex triplet | 1f157f | #1f157f |
---|---|---|
RGB Decimal | 31, 21, 127 | rgb(31,21,127) |
RGB Percent | 12.2, 8.2, 49.8 | rgb(12.2%,8.2%,49.8%) |
CMYK | 76, 83, 0, 50 | |
HSL | 245.7°, 71.6, 29 | hsl(245.7,71.6%,29%) |
HSV (or HSB) | 245.7°, 83.5, 49.8 | |
Web Safe | 330066 | #330066 |
CIE-LAB | 17.272, 39.63, -56.866 |
---|---|
XYZ | 4.663, 2.36, 20.287 |
xyY | 0.171, 0.086, 2.36 |
CIE-LCH | 17.272, 69.313, 304.873 |
CIE-LUV | 17.272, -2.921, -57.907 |
Hunter-Lab | 15.361, 27.306, -67.55 |
Binary | 00011111, 00010101, 01111111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #1f157f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #1f157f
This text has a font color of #1f157f.
<span style="color:#1f157f;">Text here</span>
#1f157f background color
This paragraph has a background color of #1f157f.
<p style="background-color:#1f157f;">Content here</p>
#1f157f border color
This element has a border color of #1f157f.
<div style="border:1px solid #1f157f;">Content here</div>
CSS codes
.text {color:#1f157f;}
.background {background-color:#1f157f;}
.border {border:1px solid #1f157f;}
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, #020209 is the darkest color, while #f8f7fe is the lightest one.
-
#020209
#020209
rgb(2,2,9)
-
#06041a
#06041a
rgb(6,4,26)
-
#0a072b
#0a072b
rgb(10,7,43)
-
#0f0a3c
#0f0a3c
rgb(15,10,60)
-
#130d4d
#130d4d
rgb(19,13,77)
-
#170f5d
#170f5d
rgb(23,15,93)
-
#1b126e
#1b126e
rgb(27,18,110)
-
#1f157f
#1f157f
rgb(31,21,127)
-
#231890
#231890
rgb(35,24,144)
-
#271ba1
#271ba1
rgb(39,27,161)
-
#2b1db1
#2b1db1
rgb(43,29,177)
-
#2f20c2
#2f20c2
rgb(47,32,194)
-
#3423d3
#3423d3
rgb(52,35,211)
Shade Color Variation
-
#3e2ddc
#3e2ddc
rgb(62,45,220)
-
#4d3edf
#4d3edf
rgb(77,62,223)
-
#5d4fe2
#5d4fe2
rgb(93,79,226)
-
#6c60e5
#6c60e5
rgb(108,96,229)
-
#7c71e7
#7c71e7
rgb(124,113,231)
-
#8b82ea
#8b82ea
rgb(139,130,234)
-
#9b92ed
#9b92ed
rgb(155,146,237)
-
#aaa3f0
#aaa3f0
rgb(170,163,240)
-
#bab4f3
#bab4f3
rgb(186,180,243)
-
#c9c5f5
#c9c5f5
rgb(201,197,245)
-
#d9d6f8
#d9d6f8
rgb(217,214,248)
-
#e8e7fb
#e8e7fb
rgb(232,231,251)
-
#f8f7fe
#f8f7fe
rgb(248,247,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #49484c is the less saturated color, while #110490 is the most saturated one.
-
#49484c
#49484c
rgb(73,72,76)
-
#444351
#444351
rgb(68,67,81)
-
#3f3d57
#3f3d57
rgb(63,61,87)
-
#3b375d
#3b375d
rgb(59,55,93)
-
#363163
#363163
rgb(54,49,99)
-
#312c68
#312c68
rgb(49,44,104)
-
#2d266e
#2d266e
rgb(45,38,110)
-
#282074
#282074
rgb(40,32,116)
-
#241b79
#241b79
rgb(36,27,121)
-
#1f157f
#1f157f
rgb(31,21,127)
-
#1a0f85
#1a0f85
rgb(26,15,133)
-
#160a8a
#160a8a
rgb(22,10,138)
-
#110490
#110490
rgb(17,4,144)
Tone Color Variation
Below, you can see how #1f157f 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