#040c9b hex color
In a RGB color space, hex #040c9b is composed of 1.6% red, 4.7% green and 60.8% blue. Whereas in a CMYK color space, it is composed of 97.4% cyan, 92.3% magenta, 0% yellow and 39.2% black. It has a hue angle of 236.8 degrees, a saturation of 95% and a lightness of 31.2%. #040c9b color hex could be obtained by blending #0818ff with #000037. Closest websafe color is: #000099.
-
- R 2
- G 5
- B 61
RGB color chart
-
- C 97
- M 92
- Y 0
- K 39
CMYK color chart
● #040c9b color description : Dark blue.
The hexadecimal color #040c9b has RGB values of R:4, G:12, B:155 and CMYK values of C:0.97, M:0.92, Y:0, K:0.39. Its decimal value is 265371.
Hex triplet | 040c9b | #040c9b |
---|---|---|
RGB Decimal | 4, 12, 155 | rgb(4,12,155) |
RGB Percent | 1.6, 4.7, 60.8 | rgb(1.6%,4.7%,60.8%) |
CMYK | 97, 92, 0, 39 | |
HSL | 236.8°, 95, 31.2 | hsl(236.8,95%,31.2%) |
HSV (or HSB) | 236.8°, 97.4, 60.8 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 18.605, 50.992, -72.19 |
---|---|
XYZ | 6.097, 2.655, 31.2 |
xyY | 0.153, 0.066, 2.655 |
CIE-LCH | 18.605, 88.383, 305.235 |
CIE-LUV | 18.605, -5.574, -71.852 |
Hunter-Lab | 16.294, 38.277, -102.125 |
Binary | 00000100, 00001100, 10011011 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #040c9b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #040c9b
This text has a font color of #040c9b.
<span style="color:#040c9b;">Text here</span>
#040c9b background color
This paragraph has a background color of #040c9b.
<p style="background-color:#040c9b;">Content here</p>
#040c9b border color
This element has a border color of #040c9b.
<div style="border:1px solid #040c9b;">Content here</div>
CSS codes
.text {color:#040c9b;}
.background {background-color:#040c9b;}
.border {border:1px solid #040c9b;}
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, #000002 is the darkest color, while #eeefff is the lightest one.
-
#000002
#000002
rgb(0,0,2)
-
#010215
#010215
rgb(1,2,21)
-
#010328
#010328
rgb(1,3,40)
-
#02053b
#02053b
rgb(2,5,59)
-
#02064f
#02064f
rgb(2,6,79)
-
#030862
#030862
rgb(3,8,98)
-
#030975
#030975
rgb(3,9,117)
-
#040b88
#040b88
rgb(4,11,136)
-
#040c9b
#040c9b
rgb(4,12,155)
-
#040dae
#040dae
rgb(4,13,174)
-
#050fc1
#050fc1
rgb(5,15,193)
-
#0510d4
#0510d4
rgb(5,16,212)
-
#0612e7
#0612e7
rgb(6,18,231)
Shade Color Variation
-
#0815f9
#0815f9
rgb(8,21,249)
-
#1c27f9
#1c27f9
rgb(28,39,249)
-
#2f39fa
#2f39fa
rgb(47,57,250)
-
#424cfa
#424cfa
rgb(66,76,250)
-
#555efb
#555efb
rgb(85,94,251)
-
#6870fb
#6870fb
rgb(104,112,251)
-
#7b82fc
#7b82fc
rgb(123,130,252)
-
#8e94fc
#8e94fc
rgb(142,148,252)
-
#a1a6fd
#a1a6fd
rgb(161,166,253)
-
#b5b8fd
#b5b8fd
rgb(181,184,253)
-
#c8cbfe
#c8cbfe
rgb(200,203,254)
-
#dbddfe
#dbddfe
rgb(219,221,254)
-
#eeefff
#eeefff
rgb(238,239,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4d4e52 is the less saturated color, while #040c9b is the most saturated one.
-
#4d4e52
#4d4e52
rgb(77,78,82)
-
#474858
#474858
rgb(71,72,88)
-
#41435e
#41435e
rgb(65,67,94)
-
#3b3d64
#3b3d64
rgb(59,61,100)
-
#35386a
#35386a
rgb(53,56,106)
-
#2f3270
#2f3270
rgb(47,50,112)
-
#292d76
#292d76
rgb(41,45,118)
-
#23277c
#23277c
rgb(35,39,124)
-
#1c2283
#1c2283
rgb(28,34,131)
-
#161c89
#161c89
rgb(22,28,137)
-
#10178f
#10178f
rgb(16,23,143)
-
#0a1195
#0a1195
rgb(10,17,149)
-
#040c9b
#040c9b
rgb(4,12,155)
Tone Color Variation
Below, you can see how #040c9b 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