#1f3798 hex color
In a RGB color space, hex #1f3798 is composed of 12.2% red, 21.6% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 79.6% cyan, 63.8% magenta, 0% yellow and 40.4% black. It has a hue angle of 228.1 degrees, a saturation of 66.1% and a lightness of 35.9%. #1f3798 color hex could be obtained by blending #3e6eff with #000031. Closest websafe color is: #333399.
-
- R 12
- G 22
- B 60
RGB color chart
-
- C 80
- M 64
- Y 0
- K 40
CMYK color chart
● #1f3798 color description : Dark blue.
The hexadecimal color #1f3798 has RGB values of R:31, G:55, B:152 and CMYK values of C:0.8, M:0.64, Y:0, K:0.4. Its decimal value is 2045848.
Hex triplet | 1f3798 | #1f3798 |
---|---|---|
RGB Decimal | 31, 55, 152 | rgb(31,55,152) |
RGB Percent | 12.2, 21.6, 59.6 | rgb(12.2%,21.6%,59.6%) |
CMYK | 80, 64, 0, 40 | |
HSL | 228.1°, 66.1, 35.9 | hsl(228.1,66.1%,35.9%) |
HSV (or HSB) | 228.1°, 79.6, 59.6 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 27.546, 27.687, -55.531 |
---|---|
XYZ | 7.598, 5.29, 30.325 |
xyY | 0.176, 0.122, 5.29 |
CIE-LCH | 27.546, 62.05, 296.501 |
CIE-LUV | 27.546, -9.681, -71.885 |
Hunter-Lab | 23, 18.712, -62.071 |
Binary | 00011111, 00110111, 10011000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #1f3798. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #1f3798
This text has a font color of #1f3798.
<span style="color:#1f3798;">Text here</span>
#1f3798 background color
This paragraph has a background color of #1f3798.
<p style="background-color:#1f3798;">Content here</p>
#1f3798 border color
This element has a border color of #1f3798.
<div style="border:1px solid #1f3798;">Content here</div>
CSS codes
.text {color:#1f3798;}
.background {background-color:#1f3798;}
.border {border:1px solid #1f3798;}
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, #010205 is the darkest color, while #f4f6fd is the lightest one.
-
#010205
#010205
rgb(1,2,5)
-
#040816
#040816
rgb(4,8,22)
-
#080e26
#080e26
rgb(8,14,38)
-
#0b1436
#0b1436
rgb(11,20,54)
-
#0e1a47
#0e1a47
rgb(14,26,71)
-
#121f57
#121f57
rgb(18,31,87)
-
#152567
#152567
rgb(21,37,103)
-
#182b77
#182b77
rgb(24,43,119)
-
#1c3188
#1c3188
rgb(28,49,136)
-
#1f3798
#1f3798
rgb(31,55,152)
-
#223da8
#223da8
rgb(34,61,168)
-
#2643b9
#2643b9
rgb(38,67,185)
-
#2949c9
#2949c9
rgb(41,73,201)
Shade Color Variation
-
#3151d5
#3151d5
rgb(49,81,213)
-
#415fd8
#415fd8
rgb(65,95,216)
-
#516ddc
#516ddc
rgb(81,109,220)
-
#617adf
#617adf
rgb(97,122,223)
-
#7288e2
#7288e2
rgb(114,136,226)
-
#8296e6
#8296e6
rgb(130,150,230)
-
#92a3e9
#92a3e9
rgb(146,163,233)
-
#a3b1ec
#a3b1ec
rgb(163,177,236)
-
#b3bfef
#b3bfef
rgb(179,191,239)
-
#c3cdf3
#c3cdf3
rgb(195,205,243)
-
#d3daf6
#d3daf6
rgb(211,218,246)
-
#e4e8f9
#e4e8f9
rgb(228,232,249)
-
#f4f6fd
#f4f6fd
rgb(244,246,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #575960 is the less saturated color, while #0326b4 is the most saturated one.
-
#575960
#575960
rgb(87,89,96)
-
#505567
#505567
rgb(80,85,103)
-
#49506e
#49506e
rgb(73,80,110)
-
#424c75
#424c75
rgb(66,76,117)
-
#3b487c
#3b487c
rgb(59,72,124)
-
#344483
#344483
rgb(52,68,131)
-
#2d3f8a
#2d3f8a
rgb(45,63,138)
-
#263b91
#263b91
rgb(38,59,145)
-
#1f3798
#1f3798
rgb(31,55,152)
-
#18339f
#18339f
rgb(24,51,159)
-
#112fa6
#112fa6
rgb(17,47,166)
-
#0a2aad
#0a2aad
rgb(10,42,173)
-
#0326b4
#0326b4
rgb(3,38,180)
Tone Color Variation
Below, you can see how #1f3798 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