#040c8e Color Information
In a RGB color space, hex #040c8e is composed of 1.6% red, 4.7% green and 55.7% blue. Whereas in a CMYK color space, it is composed of 97.2% cyan, 91.5% magenta, 0% yellow and 44.3% black. It has a hue angle of 236.5 degrees, a saturation of 94.5% and a lightness of 28.6%. #040c8e color hex could be obtained by blending #0818ff with #00001d. Closest websafe color is: #000099.
-
- R 2
- G 5
- B 56
-
- C 97
- M 92
- Y 0
- K 44
● #040c8e color description : Dark blue.
#040c8e Color Conversion
The hexadecimal color #040c8e has RGB values of R:4, G:12, B:142 and CMYK values of C:0.97, M:0.92, Y:0, K:0.44. Its decimal value is 265358.
Hex triplet | 040c8e | #040c8e |
---|---|---|
RGB Decimal | 4, 12, 142 | rgb(4,12,142) |
RGB Percent | 1.6, 4.7, 55.7 | rgb(1.6%,4.7%,55.7%) |
CMYK | 97, 92, 0, 44 | |
HSL | 236.5°, 94.5, 28.6 | hsl(236.5,94.5%,28.6%) |
HSV (or HSB) | 236.5°, 97.2, 55.7 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 16.706, 47.157, -67.3 |
---|---|
XYZ | 5.063, 2.241, 25.755 |
xyY | 0.153, 0.068, 2.241 |
CIE-LCH | 16.706, 82.177, 305.019 |
CIE-LUV | 16.706, -5.033, -63.929 |
Hunter-Lab | 14.971, 34.167, -91.519 |
Binary | 00000100, 00001100, 10001110 |
Color Schemes with #040c8e
Alternatives to #040c8e
Below, you can see some colors close to #040c8e. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040c8e Preview
This text has a font color of #040c8e.
<span style="color:#040c8e;">Text here</span>
This paragraph has a background color of #040c8e.
<p style="background-color:#040c8e;">Content here</p>
This element has a border color of #040c8e.
<div style="border:1px solid #040c8e;">Content here</div>
.text {color:#040c8e;}
.background {background-color:#040c8e;}
.border {border:1px solid #040c8e;}
Shades and Tints of #040c8e
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, #000108 is the darkest color, while #f4f5ff is the lightest one.
-
#000108
#000108
rgb(0,1,8)
-
#01021c
#01021c
rgb(1,2,28)
-
#01042f
#01042f
rgb(1,4,47)
-
#020642
#020642
rgb(2,6,66)
-
#020755
#020755
rgb(2,7,85)
-
#030968
#030968
rgb(3,9,104)
-
#030a7b
#030a7b
rgb(3,10,123)
-
#040c8e
#040c8e
rgb(4,12,142)
-
#050ea1
#050ea1
rgb(5,14,161)
-
#050fb4
#050fb4
rgb(5,15,180)
-
#0611c7
#0611c7
rgb(6,17,199)
-
#0612da
#0612da
rgb(6,18,218)
-
#0714ed
#0714ed
rgb(7,20,237)
-
#0f1df8
#0f1df8
rgb(15,29,248)
-
#232ff9
#232ff9
rgb(35,47,249)
-
#3641f9
#3641f9
rgb(54,65,249)
-
#4953fa
#4953fa
rgb(73,83,250)
-
#5c65fa
#5c65fa
rgb(92,101,250)
-
#6f77fb
#6f77fb
rgb(111,119,251)
-
#8289fb
#8289fb
rgb(130,137,251)
-
#959bfc
#959bfc
rgb(149,155,252)
-
#a8adfd
#a8adfd
rgb(168,173,253)
-
#bbbffd
#bbbffd
rgb(187,191,253)
-
#ced1fe
#ced1fe
rgb(206,209,254)
-
#e1e3fe
#e1e3fe
rgb(225,227,254)
-
#f4f5ff
#f4f5ff
rgb(244,245,255)
Tones of #040c8e
A tone is produced by adding gray to any pure hue. In this case, #47484b is the less saturated color, while #040c8e is the most saturated one.
-
#47484b
#47484b
rgb(71,72,75)
-
#424350
#424350
rgb(66,67,80)
-
#3c3e56
#3c3e56
rgb(60,62,86)
-
#37395b
#37395b
rgb(55,57,91)
-
#313461
#313461
rgb(49,52,97)
-
#2b2f67
#2b2f67
rgb(43,47,103)
-
#262a6c
#262a6c
rgb(38,42,108)
-
#202572
#202572
rgb(32,37,114)
-
#1a2078
#1a2078
rgb(26,32,120)
-
#151b7d
#151b7d
rgb(21,27,125)
-
#0f1683
#0f1683
rgb(15,22,131)
-
#0a1188
#0a1188
rgb(10,17,136)
-
#040c8e
#040c8e
rgb(4,12,142)
Color Blindness Simulator
Below, you can see how #040c8e 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.