#1f2a97 hex color
In a RGB color space, hex #1f2a97 is composed of 12.2% red, 16.5% green and 59.2% blue. Whereas in a CMYK color space, it is composed of 79.5% cyan, 72.2% magenta, 0% yellow and 40.8% black. It has a hue angle of 234.5 degrees, a saturation of 65.9% and a lightness of 35.7%. #1f2a97 color hex could be obtained by blending #3e54ff with #00002f. Closest websafe color is: #333399.
-
- R 12
- G 16
- B 59
RGB color chart
-
- C 79
- M 72
- Y 0
- K 41
CMYK color chart
● #1f2a97 color description : Dark blue.
The hexadecimal color #1f2a97 has RGB values of R:31, G:42, B:151 and CMYK values of C:0.79, M:0.72, Y:0, K:0.41. Its decimal value is 2042519.
Hex triplet | 1f2a97 | #1f2a97 |
---|---|---|
RGB Decimal | 31, 42, 151 | rgb(31,42,151) |
RGB Percent | 12.2, 16.5, 59.2 | rgb(12.2%,16.5%,59.2%) |
CMYK | 79, 72, 0, 41 | |
HSL | 234.5°, 65.9, 35.7 | hsl(234.5,65.9%,35.7%) |
HSV (or HSB) | 234.5°, 79.5, 59.2 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 24.261, 35.821, -60.313 |
---|---|
XYZ | 6.978, 4.181, 29.716 |
xyY | 0.171, 0.102, 4.181 |
CIE-LCH | 24.261, 70.149, 300.707 |
CIE-LUV | 24.261, -6.977, -72.994 |
Hunter-Lab | 20.448, 25.129, -71.85 |
Binary | 00011111, 00101010, 10010111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #1f2a97. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #1f2a97
This text has a font color of #1f2a97.
<span style="color:#1f2a97;">Text here</span>
#1f2a97 background color
This paragraph has a background color of #1f2a97.
<p style="background-color:#1f2a97;">Content here</p>
#1f2a97 border color
This element has a border color of #1f2a97.
<div style="border:1px solid #1f2a97;">Content here</div>
CSS codes
.text {color:#1f2a97;}
.background {background-color:#1f2a97;}
.border {border:1px solid #1f2a97;}
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, #010105 is the darkest color, while #f3f4fd is the lightest one.
-
#010105
#010105
rgb(1,1,5)
-
#040615
#040615
rgb(4,6,21)
-
#080a25
#080a25
rgb(8,10,37)
-
#0b0f35
#0b0f35
rgb(11,15,53)
-
#0e1346
#0e1346
rgb(14,19,70)
-
#121856
#121856
rgb(18,24,86)
-
#151c66
#151c66
rgb(21,28,102)
-
#182176
#182176
rgb(24,33,118)
-
#1c2587
#1c2587
rgb(28,37,135)
-
#1f2a97
#1f2a97
rgb(31,42,151)
-
#222fa7
#222fa7
rgb(34,47,167)
-
#2633b8
#2633b8
rgb(38,51,184)
-
#2938c8
#2938c8
rgb(41,56,200)
Shade Color Variation
-
#303fd4
#303fd4
rgb(48,63,212)
-
#404ed8
#404ed8
rgb(64,78,216)
-
#515ddb
#515ddb
rgb(81,93,219)
-
#616cdf
#616cdf
rgb(97,108,223)
-
#717be2
#717be2
rgb(113,123,226)
-
#818ae5
#818ae5
rgb(129,138,229)
-
#929ae9
#929ae9
rgb(146,154,233)
-
#a2a9ec
#a2a9ec
rgb(162,169,236)
-
#b2b8ef
#b2b8ef
rgb(178,184,239)
-
#c2c7f3
#c2c7f3
rgb(194,199,243)
-
#d3d6f6
#d3d6f6
rgb(211,214,246)
-
#e3e5f9
#e3e5f9
rgb(227,229,249)
-
#f3f4fd
#f3f4fd
rgb(243,244,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #57585f is the less saturated color, while #0313b3 is the most saturated one.
-
#57585f
#57585f
rgb(87,88,95)
-
#505266
#505266
rgb(80,82,102)
-
#494c6d
#494c6d
rgb(73,76,109)
-
#424774
#424774
rgb(66,71,116)
-
#3b417b
#3b417b
rgb(59,65,123)
-
#343b82
#343b82
rgb(52,59,130)
-
#2d3589
#2d3589
rgb(45,53,137)
-
#263090
#263090
rgb(38,48,144)
-
#1f2a97
#1f2a97
rgb(31,42,151)
-
#18249e
#18249e
rgb(24,36,158)
-
#111fa5
#111fa5
rgb(17,31,165)
-
#0a19ac
#0a19ac
rgb(10,25,172)
-
#0313b3
#0313b3
rgb(3,19,179)
Tone Color Variation
Below, you can see how #1f2a97 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