#1f2240 hex color
In a RGB color space, hex #1f2240 is composed of 12.2% red, 13.3% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 51.6% cyan, 46.9% magenta, 0% yellow and 74.9% black. It has a hue angle of 234.5 degrees, a saturation of 34.7% and a lightness of 18.6%. #1f2240 color hex could be obtained by blending #3e4480 with #000000. Closest websafe color is: #333333.
-
- R 12
- G 13
- B 25
RGB color chart
-
- C 52
- M 47
- Y 0
- K 75
CMYK color chart
● #1f2240 color description : Very dark desaturated blue.
The hexadecimal color #1f2240 has RGB values of R:31, G:34, B:64 and CMYK values of C:0.52, M:0.47, Y:0, K:0.75. Its decimal value is 2040384.
Hex triplet | 1f2240 | #1f2240 |
---|---|---|
RGB Decimal | 31, 34, 64 | rgb(31,34,64) |
RGB Percent | 12.2, 13.3, 25.1 | rgb(12.2%,13.3%,25.1%) |
CMYK | 52, 47, 0, 75 | |
HSL | 234.5°, 34.7, 18.6 | hsl(234.5,34.7%,18.6%) |
HSV (or HSB) | 234.5°, 51.6, 25.1 | |
Web Safe | 333333 | #333333 |
CIE-LAB | 14.431, 8.288, -19.579 |
---|---|
XYZ | 2.062, 1.805, 5.09 |
xyY | 0.23, 0.202, 1.805 |
CIE-LCH | 14.431, 21.261, 292.944 |
CIE-LUV | 14.431, -2.271, -19.226 |
Hunter-Lab | 13.437, 3.883, -13.054 |
Binary | 00011111, 00100010, 01000000 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #1f2240. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #1f2240
This text has a font color of #1f2240.
<span style="color:#1f2240;">Text here</span>
#1f2240 background color
This paragraph has a background color of #1f2240.
<p style="background-color:#1f2240;">Content here</p>
#1f2240 border color
This element has a border color of #1f2240.
<div style="border:1px solid #1f2240;">Content here</div>
CSS codes
.text {color:#1f2240;}
.background {background-color:#1f2240;}
.border {border:1px solid #1f2240;}
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, #05060b is the darkest color, while #fdfdfe is the lightest one.
-
#05060b
#05060b
rgb(5,6,11)
-
#0c0d18
#0c0d18
rgb(12,13,24)
-
#121426
#121426
rgb(18,20,38)
-
#191b33
#191b33
rgb(25,27,51)
-
#1f2240
#1f2240
rgb(31,34,64)
-
#25294d
#25294d
rgb(37,41,77)
-
#2c305a
#2c305a
rgb(44,48,90)
-
#323768
#323768
rgb(50,55,104)
-
#393e75
#393e75
rgb(57,62,117)
-
#3f4582
#3f4582
rgb(63,69,130)
-
#454c8f
#454c8f
rgb(69,76,143)
-
#4c539d
#4c539d
rgb(76,83,157)
-
#525aaa
#525aaa
rgb(82,90,170)
Shade Color Variation
-
#5e66b1
#5e66b1
rgb(94,102,177)
-
#6c72b8
#6c72b8
rgb(108,114,184)
-
#797fbe
#797fbe
rgb(121,127,190)
-
#868cc4
#868cc4
rgb(134,140,196)
-
#9398cb
#9398cb
rgb(147,152,203)
-
#a0a5d1
#a0a5d1
rgb(160,165,209)
-
#aeb1d8
#aeb1d8
rgb(174,177,216)
-
#bbbede
#bbbede
rgb(187,190,222)
-
#c8cbe4
#c8cbe4
rgb(200,203,228)
-
#d5d7eb
#d5d7eb
rgb(213,215,235)
-
#e2e4f1
#e2e4f1
rgb(226,228,241)
-
#f0f0f8
#f0f0f8
rgb(240,240,248)
-
#fdfdfe
#fdfdfe
rgb(253,253,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #2e2e31 is the less saturated color, while #020a5d is the most saturated one.
-
#2e2e31
#2e2e31
rgb(46,46,49)
-
#2a2b35
#2a2b35
rgb(42,43,53)
-
#262839
#262839
rgb(38,40,57)
-
#23253c
#23253c
rgb(35,37,60)
-
#1f2240
#1f2240
rgb(31,34,64)
-
#1b1f44
#1b1f44
rgb(27,31,68)
-
#181c47
#181c47
rgb(24,28,71)
-
#14194b
#14194b
rgb(20,25,75)
-
#10164f
#10164f
rgb(16,22,79)
-
#0d1352
#0d1352
rgb(13,19,82)
-
#091056
#091056
rgb(9,16,86)
-
#050d5a
#050d5a
rgb(5,13,90)
-
#020a5d
#020a5d
rgb(2,10,93)
Tone Color Variation
Below, you can see how #1f2240 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