#040740 hex color
In a RGB color space, hex #040740 is composed of 1.6% red, 2.7% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 93.8% cyan, 89.1% magenta, 0% yellow and 74.9% black. It has a hue angle of 237 degrees, a saturation of 88.2% and a lightness of 13.3%. #040740 color hex could be obtained by blending #080e80 with #000000. Closest websafe color is: #000033.
-
- R 2
- G 3
- B 25
RGB color chart
-
- C 94
- M 89
- Y 0
- K 75
CMYK color chart
● #040740 color description : Very dark blue.
The hexadecimal color #040740 has RGB values of R:4, G:7, B:64 and CMYK values of C:0.94, M:0.89, Y:0, K:0.75. Its decimal value is 264000.
Hex triplet | 040740 | #040740 |
---|---|---|
RGB Decimal | 4, 7, 64 | rgb(4,7,64) |
RGB Percent | 1.6, 2.7, 25.1 | rgb(1.6%,2.7%,25.1%) |
CMYK | 94, 89, 0, 75 | |
HSL | 237°, 88.2, 13.3 | hsl(237,88.2%,13.3%) |
HSV (or HSB) | 237°, 93.8, 25.1 | |
Web Safe | 000033 | #000033 |
CIE-LAB | 4.949, 21.106, -35.023 |
---|---|
XYZ | 1.051, 0.548, 4.901 |
xyY | 0.162, 0.084, 0.548 |
CIE-LCH | 4.949, 40.891, 301.075 |
CIE-LUV | 4.949, -1.442, -16.897 |
Hunter-Lab | 7.402, 12.399, -34.073 |
Binary | 00000100, 00000111, 01000000 |
Split Complementary Color
Below, you can see some colors close to #040740. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #040740
This text has a font color of #040740.
<span style="color:#040740;">Text here</span>
#040740 background color
This paragraph has a background color of #040740.
<p style="background-color:#040740;">Content here</p>
#040740 border color
This element has a border color of #040740.
<div style="border:1px solid #040740;">Content here</div>
CSS codes
.text {color:#040740;}
.background {background-color:#040740;}
.border {border:1px solid #040740;}
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, #010109 is the darkest color, while #f5f6fe is the lightest one.
-
#010109
#010109
rgb(1,1,9)
-
#02031b
#02031b
rgb(2,3,27)
-
#03052e
#03052e
rgb(3,5,46)
-
#040740
#040740
rgb(4,7,64)
-
#050952
#050952
rgb(5,9,82)
-
#060b65
#060b65
rgb(6,11,101)
-
#070d77
#070d77
rgb(7,13,119)
-
#090f8a
#090f8a
rgb(9,15,138)
-
#0a119c
#0a119c
rgb(10,17,156)
-
#0b13af
#0b13af
rgb(11,19,175)
-
#0c15c1
#0c15c1
rgb(12,21,193)
-
#0d17d4
#0d17d4
rgb(13,23,212)
-
#0e19e6
#0e19e6
rgb(14,25,230)
Shade Color Variation
-
#1822f1
#1822f1
rgb(24,34,241)
-
#2a34f2
#2a34f2
rgb(42,52,242)
-
#3d46f3
#3d46f3
rgb(61,70,243)
-
#4f57f4
#4f57f4
rgb(79,87,244)
-
#6169f5
#6169f5
rgb(97,105,245)
-
#747af6
#747af6
rgb(116,122,246)
-
#868cf7
#868cf7
rgb(134,140,247)
-
#999ef9
#999ef9
rgb(153,158,249)
-
#abaffa
#abaffa
rgb(171,175,250)
-
#bec1fb
#bec1fb
rgb(190,193,251)
-
#d0d2fc
#d0d2fc
rgb(208,210,252)
-
#e3e4fd
#e3e4fd
rgb(227,228,253)
-
#f5f6fe
#f5f6fe
rgb(245,246,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #212123 is the less saturated color, while #010543 is the most saturated one.
-
#212123
#212123
rgb(33,33,35)
-
#1e1f26
#1e1f26
rgb(30,31,38)
-
#1c1c28
#1c1c28
rgb(28,28,40)
-
#191a2b
#191a2b
rgb(25,26,43)
-
#16172e
#16172e
rgb(22,23,46)
-
#141530
#141530
rgb(20,21,48)
-
#111333
#111333
rgb(17,19,51)
-
#0e1036
#0e1036
rgb(14,16,54)
-
#0c0e38
#0c0e38
rgb(12,14,56)
-
#090c3b
#090c3b
rgb(9,12,59)
-
#07093d
#07093d
rgb(7,9,61)
-
#040740
#040740
rgb(4,7,64)
-
#010543
#010543
rgb(1,5,67)
Tone Color Variation
Below, you can see how #040740 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