#1f0c98 hex color
In a RGB color space, hex #1f0c98 is composed of 12.2% red, 4.7% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 79.6% cyan, 92.1% magenta, 0% yellow and 40.4% black. It has a hue angle of 248.1 degrees, a saturation of 85.4% and a lightness of 32.2%. #1f0c98 color hex could be obtained by blending #3e18ff with #000031. Closest websafe color is: #330099.
-
- R 12
- G 5
- B 60
RGB color chart
-
- C 80
- M 92
- Y 0
- K 40
CMYK color chart
● #1f0c98 color description : Dark blue.
The hexadecimal color #1f0c98 has RGB values of R:31, G:12, B:152 and CMYK values of C:0.8, M:0.92, Y:0, K:0.4. Its decimal value is 2034840.
Hex triplet | 1f0c98 | #1f0c98 |
---|---|---|
RGB Decimal | 31, 12, 152 | rgb(31,12,152) |
RGB Percent | 12.2, 4.7, 59.6 | rgb(12.2%,4.7%,59.6%) |
CMYK | 80, 92, 0, 40 | |
HSL | 248.1°, 85.4, 32.2 | hsl(248.1,85.4%,32.2%) |
HSV (or HSB) | 248.1°, 92.1, 59.6 | |
Web Safe | 330099 | #330099 |
CIE-LAB | 19.312, 50.816, -69.134 |
---|---|
XYZ | 6.363, 2.821, 29.913 |
xyY | 0.163, 0.072, 2.821 |
CIE-LCH | 19.312, 85.801, 306.317 |
CIE-LUV | 19.312, -3.505, -71.53 |
Hunter-Lab | 16.795, 38.233, -93.841 |
Binary | 00011111, 00001100, 10011000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #1f0c98. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #1f0c98
This text has a font color of #1f0c98.
<span style="color:#1f0c98;">Text here</span>
#1f0c98 background color
This paragraph has a background color of #1f0c98.
<p style="background-color:#1f0c98;">Content here</p>
#1f0c98 border color
This element has a border color of #1f0c98.
<div style="border:1px solid #1f0c98;">Content here</div>
CSS codes
.text {color:#1f0c98;}
.background {background-color:#1f0c98;}
.border {border:1px solid #1f0c98;}
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, #010107 is the darkest color, while #f5f3fe is the lightest one.
-
#010107
#010107
rgb(1,1,7)
-
#050219
#050219
rgb(5,2,25)
-
#09032b
#09032b
rgb(9,3,43)
-
#0c053d
#0c053d
rgb(12,5,61)
-
#10064f
#10064f
rgb(16,6,79)
-
#140861
#140861
rgb(20,8,97)
-
#180974
#180974
rgb(24,9,116)
-
#1b0b86
#1b0b86
rgb(27,11,134)
-
#1f0c98
#1f0c98
rgb(31,12,152)
-
#230daa
#230daa
rgb(35,13,170)
-
#260fbc
#260fbc
rgb(38,15,188)
-
#2a10cf
#2a10cf
rgb(42,16,207)
-
#2e12e1
#2e12e1
rgb(46,18,225)
Shade Color Variation
-
#3619ed
#3619ed
rgb(54,25,237)
-
#462bee
#462bee
rgb(70,43,238)
-
#563ef0
#563ef0
rgb(86,62,240)
-
#6650f1
#6650f1
rgb(102,80,241)
-
#7662f3
#7662f3
rgb(118,98,243)
-
#8574f4
#8574f4
rgb(133,116,244)
-
#9586f5
#9586f5
rgb(149,134,245)
-
#a598f7
#a598f7
rgb(165,152,247)
-
#b5abf8
#b5abf8
rgb(181,171,248)
-
#c5bdfa
#c5bdfa
rgb(197,189,250)
-
#d5cffb
#d5cffb
rgb(213,207,251)
-
#e5e1fd
#e5e1fd
rgb(229,225,253)
-
#f5f3fe
#f5f3fe
rgb(245,243,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #525153 is the less saturated color, while #1a069e is the most saturated one.
-
#525153
#525153
rgb(82,81,83)
-
#4d4b59
#4d4b59
rgb(77,75,89)
-
#48455f
#48455f
rgb(72,69,95)
-
#443e66
#443e66
rgb(68,62,102)
-
#3f386c
#3f386c
rgb(63,56,108)
-
#3b3272
#3b3272
rgb(59,50,114)
-
#362c78
#362c78
rgb(54,44,120)
-
#31257f
#31257f
rgb(49,37,127)
-
#2d1f85
#2d1f85
rgb(45,31,133)
-
#28198b
#28198b
rgb(40,25,139)
-
#241292
#241292
rgb(36,18,146)
-
#1f0c98
#1f0c98
rgb(31,12,152)
-
#1a069e
#1a069e
rgb(26,6,158)
Tone Color Variation
Below, you can see how #1f0c98 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