#040c74 hex color
In a RGB color space, hex #040c74 is composed of 1.6% red, 4.7% green and 45.5% blue. Whereas in a CMYK color space, it is composed of 96.6% cyan, 89.7% magenta, 0% yellow and 54.5% black. It has a hue angle of 235.7 degrees, a saturation of 93.3% and a lightness of 23.5%. #040c74 color hex could be obtained by blending #0818e8 with #000000. Closest websafe color is: #000066.
-
- R 2
- G 5
- B 45
RGB color chart
-
- C 97
- M 90
- Y 0
- K 55
CMYK color chart
● #040c74 color description : Dark blue.
The hexadecimal color #040c74 has RGB values of R:4, G:12, B:116 and CMYK values of C:0.97, M:0.9, Y:0, K:0.55. Its decimal value is 265332.
Hex triplet | 040c74 | #040c74 |
---|---|---|
RGB Decimal | 4, 12, 116 | rgb(4,12,116) |
RGB Percent | 1.6, 4.7, 45.5 | rgb(1.6%,4.7%,45.5%) |
CMYK | 97, 90, 0, 55 | |
HSL | 235.7°, 93.3, 23.5 | hsl(235.7,93.3%,23.5%) |
HSV (or HSB) | 235.7°, 96.6, 45.5 | |
Web Safe | 000066 | #000066 |
CIE-LAB | 12.919, 39.011, -57.08 |
---|---|
XYZ | 3.333, 1.549, 16.645 |
xyY | 0.155, 0.072, 1.549 |
CIE-LCH | 12.919, 69.137, 304.351 |
CIE-LUV | 12.919, -3.959, -48.046 |
Hunter-Lab | 12.448, 26.016, -70.571 |
Binary | 00000100, 00001100, 01110100 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #040c74. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #040c74
This text has a font color of #040c74.
<span style="color:#040c74;">Text here</span>
#040c74 background color
This paragraph has a background color of #040c74.
<p style="background-color:#040c74;">Content here</p>
#040c74 border color
This element has a border color of #040c74.
<div style="border:1px solid #040c74;">Content here</div>
CSS codes
.text {color:#040c74;}
.background {background-color:#040c74;}
.border {border:1px solid #040c74;}
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 #eeeffe is the lightest one.
-
#000002
#000002
rgb(0,0,2)
-
#010215
#010215
rgb(1,2,21)
-
#010428
#010428
rgb(1,4,40)
-
#02063b
#02063b
rgb(2,6,59)
-
#03084e
#03084e
rgb(3,8,78)
-
#030a61
#030a61
rgb(3,10,97)
-
#040c74
#040c74
rgb(4,12,116)
-
#050e87
#050e87
rgb(5,14,135)
-
#05109a
#05109a
rgb(5,16,154)
-
#0612ad
#0612ad
rgb(6,18,173)
-
#0714c0
#0714c0
rgb(7,20,192)
-
#0716d3
#0716d3
rgb(7,22,211)
-
#0818e6
#0818e6
rgb(8,24,230)
Shade Color Variation
-
#0b1cf7
#0b1cf7
rgb(11,28,247)
-
#1e2df7
#1e2df7
rgb(30,45,247)
-
#313ff8
#313ff8
rgb(49,63,248)
-
#4451f9
#4451f9
rgb(68,81,249)
-
#5762f9
#5762f9
rgb(87,98,249)
-
#6a74fa
#6a74fa
rgb(106,116,250)
-
#7d86fb
#7d86fb
rgb(125,134,251)
-
#8f97fb
#8f97fb
rgb(143,151,251)
-
#a2a9fc
#a2a9fc
rgb(162,169,252)
-
#b5bafc
#b5bafc
rgb(181,186,252)
-
#c8ccfd
#c8ccfd
rgb(200,204,253)
-
#dbdefe
#dbdefe
rgb(219,222,254)
-
#eeeffe
#eeeffe
rgb(238,239,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #3b3b3d is the less saturated color, while #040c74 is the most saturated one.
-
#3b3b3d
#3b3b3d
rgb(59,59,61)
-
#373841
#373841
rgb(55,56,65)
-
#323446
#323446
rgb(50,52,70)
-
#2e304a
#2e304a
rgb(46,48,74)
-
#292c4f
#292c4f
rgb(41,44,79)
-
#242854
#242854
rgb(36,40,84)
-
#202458
#202458
rgb(32,36,88)
-
#1b205d
#1b205d
rgb(27,32,93)
-
#161c62
#161c62
rgb(22,28,98)
-
#121866
#121866
rgb(18,24,102)
-
#0d146b
#0d146b
rgb(13,20,107)
-
#09106f
#09106f
rgb(9,16,111)
-
#040c74
#040c74
rgb(4,12,116)
Tone Color Variation
Below, you can see how #040c74 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