#1f31a2 hex color
In a RGB color space, hex #1f31a2 is composed of 12.2% red, 19.2% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 80.9% cyan, 69.8% magenta, 0% yellow and 36.5% black. It has a hue angle of 231.8 degrees, a saturation of 67.9% and a lightness of 37.8%. #1f31a2 color hex could be obtained by blending #3e62ff with #000045. Closest websafe color is: #333399.
-
- R 12
- G 19
- B 64
RGB color chart
-
- C 81
- M 70
- Y 0
- K 36
CMYK color chart
● #1f31a2 color description : Dark blue.
The hexadecimal color #1f31a2 has RGB values of R:31, G:49, B:162 and CMYK values of C:0.81, M:0.7, Y:0, K:0.36. Its decimal value is 2044322.
Hex triplet | 1f31a2 | #1f31a2 |
---|---|---|
RGB Decimal | 31, 49, 162 | rgb(31,49,162) |
RGB Percent | 12.2, 19.2, 63.5 | rgb(12.2%,19.2%,63.5%) |
CMYK | 81, 70, 0, 36 | |
HSL | 231.8°, 67.9, 37.8 | hsl(231.8,67.9%,37.8%) |
HSV (or HSB) | 231.8°, 80.9, 63.5 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 27.007, 35.414, -62.505 |
---|---|
XYZ | 8.184, 5.096, 34.733 |
xyY | 0.17, 0.106, 5.096 |
CIE-LCH | 27.007, 71.84, 299.535 |
CIE-LUV | 27.007, -8.594, -79.149 |
Hunter-Lab | 22.574, 25.205, -75.421 |
Binary | 00011111, 00110001, 10100010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #1f31a2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #1f31a2
This text has a font color of #1f31a2.
<span style="color:#1f31a2;">Text here</span>
#1f31a2 background color
This paragraph has a background color of #1f31a2.
<p style="background-color:#1f31a2;">Content here</p>
#1f31a2 border color
This element has a border color of #1f31a2.
<div style="border:1px solid #1f31a2;">Content here</div>
CSS codes
.text {color:#1f31a2;}
.background {background-color:#1f31a2;}
.border {border:1px solid #1f31a2;}
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, #03040e is the darkest color, while #fcfdfe is the lightest one.
-
#03040e
#03040e
rgb(3,4,14)
-
#06091e
#06091e
rgb(6,9,30)
-
#090e2f
#090e2f
rgb(9,14,47)
-
#0c133f
#0c133f
rgb(12,19,63)
-
#0f1850
#0f1850
rgb(15,24,80)
-
#121d60
#121d60
rgb(18,29,96)
-
#162271
#162271
rgb(22,34,113)
-
#192781
#192781
rgb(25,39,129)
-
#1c2c92
#1c2c92
rgb(28,44,146)
-
#1f31a2
#1f31a2
rgb(31,49,162)
-
#2236b2
#2236b2
rgb(34,54,178)
-
#253bc3
#253bc3
rgb(37,59,195)
-
#2840d3
#2840d3
rgb(40,64,211)
Shade Color Variation
-
#374dd9
#374dd9
rgb(55,77,217)
-
#475cdc
#475cdc
rgb(71,92,220)
-
#586adf
#586adf
rgb(88,106,223)
-
#6879e2
#6879e2
rgb(104,121,226)
-
#7988e5
#7988e5
rgb(121,136,229)
-
#8996e8
#8996e8
rgb(137,150,232)
-
#9aa5ec
#9aa5ec
rgb(154,165,236)
-
#aab3ef
#aab3ef
rgb(170,179,239)
-
#bac2f2
#bac2f2
rgb(186,194,242)
-
#cbd1f5
#cbd1f5
rgb(203,209,245)
-
#dbdff8
#dbdff8
rgb(219,223,248)
-
#eceefb
#eceefb
rgb(236,238,251)
-
#fcfdfe
#fcfdfe
rgb(252,253,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5a5c67 is the less saturated color, while #011bc0 is the most saturated one.
-
#5a5c67
#5a5c67
rgb(90,92,103)
-
#53576e
#53576e
rgb(83,87,110)
-
#4c5175
#4c5175
rgb(76,81,117)
-
#444c7d
#444c7d
rgb(68,76,125)
-
#3d4784
#3d4784
rgb(61,71,132)
-
#35418c
#35418c
rgb(53,65,140)
-
#2e3c93
#2e3c93
rgb(46,60,147)
-
#26369b
#26369b
rgb(38,54,155)
-
#1f31a2
#1f31a2
rgb(31,49,162)
-
#182ca9
#182ca9
rgb(24,44,169)
-
#1026b1
#1026b1
rgb(16,38,177)
-
#0921b8
#0921b8
rgb(9,33,184)
-
#011bc0
#011bc0
rgb(1,27,192)
Tone Color Variation
Below, you can see how #1f31a2 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