#1f04a2 hex color
In a RGB color space, hex #1f04a2 is composed of 12.2% red, 1.6% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 80.9% cyan, 97.5% magenta, 0% yellow and 36.5% black. It has a hue angle of 250.3 degrees, a saturation of 95.2% and a lightness of 32.5%. #1f04a2 color hex could be obtained by blending #3e08ff with #000045. Closest websafe color is: #330099.
-
- R 12
- G 2
- B 64
RGB color chart
-
- C 81
- M 98
- Y 0
- K 36
CMYK color chart
● #1f04a2 color description : Dark blue.
The hexadecimal color #1f04a2 has RGB values of R:31, G:4, B:162 and CMYK values of C:0.81, M:0.98, Y:0, K:0.36. Its decimal value is 2032802.
Hex triplet | 1f04a2 | #1f04a2 |
---|---|---|
RGB Decimal | 31, 4, 162 | rgb(31,4,162) |
RGB Percent | 12.2, 1.6, 63.5 | rgb(12.2%,1.6%,63.5%) |
CMYK | 81, 98, 0, 36 | |
HSL | 250.3°, 95.2, 32.5 | hsl(250.3,95.2%,32.5%) |
HSV (or HSB) | 250.3°, 97.5, 63.5 | |
Web Safe | 330099 | #330099 |
CIE-LAB | 19.989, 55.736, -74.141 |
---|---|
XYZ | 7.129, 2.986, 34.381 |
xyY | 0.16, 0.067, 2.986 |
CIE-LCH | 19.989, 92.755, 306.934 |
CIE-LUV | 19.989, -3.625, -76.661 |
Hunter-Lab | 17.281, 43.394, -105.863 |
Binary | 00011111, 00000100, 10100010 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #1f04a2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #1f04a2
This text has a font color of #1f04a2.
<span style="color:#1f04a2;">Text here</span>
#1f04a2 background color
This paragraph has a background color of #1f04a2.
<p style="background-color:#1f04a2;">Content here</p>
#1f04a2 border color
This element has a border color of #1f04a2.
<div style="border:1px solid #1f04a2;">Content here</div>
CSS codes
.text {color:#1f04a2;}
.background {background-color:#1f04a2;}
.border {border:1px solid #1f04a2;}
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, #020009 is the darkest color, while #f6f5ff is the lightest one.
-
#020009
#020009
rgb(2,0,9)
-
#05011c
#05011c
rgb(5,1,28)
-
#09012f
#09012f
rgb(9,1,47)
-
#0d0242
#0d0242
rgb(13,2,66)
-
#100255
#100255
rgb(16,2,85)
-
#140369
#140369
rgb(20,3,105)
-
#18037c
#18037c
rgb(24,3,124)
-
#1b048f
#1b048f
rgb(27,4,143)
-
#1f04a2
#1f04a2
rgb(31,4,162)
-
#2304b5
#2304b5
rgb(35,4,181)
-
#2605c8
#2605c8
rgb(38,5,200)
-
#2a05db
#2a05db
rgb(42,5,219)
-
#2e06ef
#2e06ef
rgb(46,6,239)
Shade Color Variation
-
#370ff9
#370ff9
rgb(55,15,249)
-
#4722fa
#4722fa
rgb(71,34,250)
-
#5735fa
#5735fa
rgb(87,53,250)
-
#6748fa
#6748fa
rgb(103,72,250)
-
#775cfb
#775cfb
rgb(119,92,251)
-
#876ffb
#876ffb
rgb(135,111,251)
-
#9782fc
#9782fc
rgb(151,130,252)
-
#a795fc
#a795fc
rgb(167,149,252)
-
#b7a8fd
#b7a8fd
rgb(183,168,253)
-
#c7bbfd
#c7bbfd
rgb(199,187,253)
-
#d7cefe
#d7cefe
rgb(215,206,254)
-
#e6e2fe
#e6e2fe
rgb(230,226,254)
-
#f6f5ff
#f6f5ff
rgb(246,245,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #515155 is the less saturated color, while #1f04a2 is the most saturated one.
-
#515155
#515155
rgb(81,81,85)
-
#4d4a5c
#4d4a5c
rgb(77,74,92)
-
#494462
#494462
rgb(73,68,98)
-
#453d69
#453d69
rgb(69,61,105)
-
#41376f
#41376f
rgb(65,55,111)
-
#3c3175
#3c3175
rgb(60,49,117)
-
#382a7c
#382a7c
rgb(56,42,124)
-
#342482
#342482
rgb(52,36,130)
-
#301e88
#301e88
rgb(48,30,136)
-
#2c178f
#2c178f
rgb(44,23,143)
-
#271195
#271195
rgb(39,17,149)
-
#230a9c
#230a9c
rgb(35,10,156)
-
#1f04a2
#1f04a2
rgb(31,4,162)
Tone Color Variation
Below, you can see how #1f04a2 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