#1f338b hex color
In a RGB color space, hex #1f338b is composed of 12.2% red, 20% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 77.7% cyan, 63.3% magenta, 0% yellow and 45.5% black. It has a hue angle of 228.9 degrees, a saturation of 63.5% and a lightness of 33.3%. #1f338b color hex could be obtained by blending #3e66ff with #000017. Closest websafe color is: #333399.
-
- R 12
- G 20
- B 55
RGB color chart
-
- C 78
- M 63
- Y 0
- K 45
CMYK color chart
● #1f338b color description : Dark blue.
The hexadecimal color #1f338b has RGB values of R:31, G:51, B:139 and CMYK values of C:0.78, M:0.63, Y:0, K:0.45. Its decimal value is 2044811.
Hex triplet | 1f338b | #1f338b |
---|---|---|
RGB Decimal | 31, 51, 139 | rgb(31,51,139) |
RGB Percent | 12.2, 20, 54.5 | rgb(12.2%,20%,54.5%) |
CMYK | 78, 63, 0, 45 | |
HSL | 228.9°, 63.5, 33.3 | hsl(228.9,63.5%,33.3%) |
HSV (or HSB) | 228.9°, 77.7, 54.5 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 25.329, 25.36, -51.146 |
---|---|
XYZ | 6.408, 4.523, 24.96 |
xyY | 0.179, 0.126, 4.523 |
CIE-LCH | 25.329, 57.088, 296.374 |
CIE-LUV | 25.329, -8.547, -64.338 |
Hunter-Lab | 21.266, 16.571, -54.701 |
Binary | 00011111, 00110011, 10001011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #1f338b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #1f338b
This text has a font color of #1f338b.
<span style="color:#1f338b;">Text here</span>
#1f338b background color
This paragraph has a background color of #1f338b.
<p style="background-color:#1f338b;">Content here</p>
#1f338b border color
This element has a border color of #1f338b.
<div style="border:1px solid #1f338b;">Content here</div>
CSS codes
.text {color:#1f338b;}
.background {background-color:#1f338b;}
.border {border:1px solid #1f338b;}
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, #02040b is the darkest color, while #fafafe is the lightest one.
-
#02040b
#02040b
rgb(2,4,11)
-
#060a1b
#060a1b
rgb(6,10,27)
-
#0a102b
#0a102b
rgb(10,16,43)
-
#0d163b
#0d163b
rgb(13,22,59)
-
#111b4b
#111b4b
rgb(17,27,75)
-
#14215b
#14215b
rgb(20,33,91)
-
#18276b
#18276b
rgb(24,39,107)
-
#1b2d7b
#1b2d7b
rgb(27,45,123)
-
#1f338b
#1f338b
rgb(31,51,139)
-
#23399b
#23399b
rgb(35,57,155)
-
#263fab
#263fab
rgb(38,63,171)
-
#2a45bb
#2a45bb
rgb(42,69,187)
-
#2d4bcb
#2d4bcb
rgb(45,75,203)
Shade Color Variation
-
#3956d3
#3956d3
rgb(57,86,211)
-
#4963d6
#4963d6
rgb(73,99,214)
-
#5971da
#5971da
rgb(89,113,218)
-
#697fde
#697fde
rgb(105,127,222)
-
#798de1
#798de1
rgb(121,141,225)
-
#899ae5
#899ae5
rgb(137,154,229)
-
#99a8e8
#99a8e8
rgb(153,168,232)
-
#a9b6ec
#a9b6ec
rgb(169,182,236)
-
#bac4f0
#bac4f0
rgb(186,196,240)
-
#cad1f3
#cad1f3
rgb(202,209,243)
-
#dadff7
#dadff7
rgb(218,223,247)
-
#eaedfa
#eaedfa
rgb(234,237,250)
-
#fafafe
#fafafe
rgb(250,250,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #535457 is the less saturated color, while #0523a5 is the most saturated one.
-
#535457
#535457
rgb(83,84,87)
-
#4d505d
#4d505d
rgb(77,80,93)
-
#464c64
#464c64
rgb(70,76,100)
-
#40486a
#40486a
rgb(64,72,106)
-
#394371
#394371
rgb(57,67,113)
-
#333f77
#333f77
rgb(51,63,119)
-
#2c3b7e
#2c3b7e
rgb(44,59,126)
-
#263784
#263784
rgb(38,55,132)
-
#1f338b
#1f338b
rgb(31,51,139)
-
#182f92
#182f92
rgb(24,47,146)
-
#122b98
#122b98
rgb(18,43,152)
-
#0b279f
#0b279f
rgb(11,39,159)
-
#0523a5
#0523a5
rgb(5,35,165)
Tone Color Variation
Below, you can see how #1f338b 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