#040c6a hex color
In a RGB color space, hex #040c6a is composed of 1.6% red, 4.7% green and 41.6% blue. Whereas in a CMYK color space, it is composed of 96.2% cyan, 88.7% magenta, 0% yellow and 58.4% black. It has a hue angle of 235.3 degrees, a saturation of 92.7% and a lightness of 21.6%. #040c6a color hex could be obtained by blending #0818d4 with #000000. Closest websafe color is: #000066.
-
- R 2
- G 5
- B 42
RGB color chart
-
- C 96
- M 89
- Y 0
- K 58
CMYK color chart
● #040c6a color description : Very dark blue.
The hexadecimal color #040c6a has RGB values of R:4, G:12, B:106 and CMYK values of C:0.96, M:0.89, Y:0, K:0.58. Its decimal value is 265322.
Hex triplet | 040c6a | #040c6a |
---|---|---|
RGB Decimal | 4, 12, 106 | rgb(4,12,106) |
RGB Percent | 1.6, 4.7, 41.6 | rgb(1.6%,4.7%,41.6%) |
CMYK | 96, 89, 0, 58 | |
HSL | 235.3°, 92.7, 21.6 | hsl(235.3,92.7%,21.6%) |
HSV (or HSB) | 235.3°, 96.2, 41.6 | |
Web Safe | 000066 | #000066 |
CIE-LAB | 11.478, 35.662, -52.953 |
---|---|
XYZ | 2.783, 1.329, 13.745 |
xyY | 0.156, 0.074, 1.329 |
CIE-LCH | 11.478, 63.841, 303.959 |
CIE-LUV | 11.478, -3.552, -41.972 |
Hunter-Lab | 11.529, 22.906, -62.616 |
Binary | 00000100, 00001100, 01101010 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #040c6a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #040c6a
This text has a font color of #040c6a.
<span style="color:#040c6a;">Text here</span>
#040c6a background color
This paragraph has a background color of #040c6a.
<p style="background-color:#040c6a;">Content here</p>
#040c6a border color
This element has a border color of #040c6a.
<div style="border:1px solid #040c6a;">Content here</div>
CSS codes
.text {color:#040c6a;}
.background {background-color:#040c6a;}
.border {border:1px solid #040c6a;}
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, #00010b is the darkest color, while #f8f8ff is the lightest one.
-
#00010b
#00010b
rgb(0,1,11)
-
#01031e
#01031e
rgb(1,3,30)
-
#020631
#020631
rgb(2,6,49)
-
#030844
#030844
rgb(3,8,68)
-
#030a57
#030a57
rgb(3,10,87)
-
#040c6a
#040c6a
rgb(4,12,106)
-
#050e7d
#050e7d
rgb(5,14,125)
-
#051090
#051090
rgb(5,16,144)
-
#0612a3
#0612a3
rgb(6,18,163)
-
#0715b6
#0715b6
rgb(7,21,182)
-
#0817c9
#0817c9
rgb(8,23,201)
-
#0819db
#0819db
rgb(8,25,219)
-
#091bee
#091bee
rgb(9,27,238)
Shade Color Variation
-
#1526f6
#1526f6
rgb(21,38,246)
-
#2838f7
#2838f7
rgb(40,56,247)
-
#3b49f8
#3b49f8
rgb(59,73,248)
-
#4d5bf8
#4d5bf8
rgb(77,91,248)
-
#606cf9
#606cf9
rgb(96,108,249)
-
#737efa
#737efa
rgb(115,126,250)
-
#868ffa
#868ffa
rgb(134,143,250)
-
#99a1fb
#99a1fb
rgb(153,161,251)
-
#acb2fc
#acb2fc
rgb(172,178,252)
-
#bfc4fd
#bfc4fd
rgb(191,196,253)
-
#d2d5fd
#d2d5fd
rgb(210,213,253)
-
#e5e7fe
#e5e7fe
rgb(229,231,254)
-
#f8f8ff
#f8f8ff
rgb(248,248,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #373737 is the less saturated color, while #040c6a is the most saturated one.
-
#373737
#373737
rgb(55,55,55)
-
#33333b
#33333b
rgb(51,51,59)
-
#2e3040
#2e3040
rgb(46,48,64)
-
#2a2c44
#2a2c44
rgb(42,44,68)
-
#262948
#262948
rgb(38,41,72)
-
#22254c
#22254c
rgb(34,37,76)
-
#1d2151
#1d2151
rgb(29,33,81)
-
#191e55
#191e55
rgb(25,30,85)
-
#151a59
#151a59
rgb(21,26,89)
-
#11175d
#11175d
rgb(17,23,93)
-
#0c1362
#0c1362
rgb(12,19,98)
-
#081066
#081066
rgb(8,16,102)
-
#040c6a
#040c6a
rgb(4,12,106)
Tone Color Variation
Below, you can see how #040c6a 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