#040c8a Color Information
In a RGB color space, hex #040c8a is composed of 1.6% red, 4.7% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 97.1% cyan, 91.3% magenta, 0% yellow and 45.9% black. It has a hue angle of 236.4 degrees, a saturation of 94.4% and a lightness of 27.8%. #040c8a color hex could be obtained by blending #0818ff with #000015. Closest websafe color is: #000099.
-
- R 2
- G 5
- B 54
-
- C 97
- M 91
- Y 0
- K 46
● #040c8a color description : Dark blue.
#040c8a Color Conversion
The hexadecimal color #040c8a has RGB values of R:4, G:12, B:138 and CMYK values of C:0.97, M:0.91, Y:0, K:0.46. Its decimal value is 265354.
Hex triplet | 040c8a | #040c8a |
---|---|---|
RGB Decimal | 4, 12, 138 | rgb(4,12,138) |
RGB Percent | 1.6, 4.7, 54.1 | rgb(1.6%,4.7%,54.1%) |
CMYK | 97, 91, 0, 46 | |
HSL | 236.4°, 94.4, 27.8 | hsl(236.4,94.4%,27.8%) |
HSV (or HSB) | 236.4°, 97.1, 54.1 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 16.122, 45.949, -65.769 |
---|---|
XYZ | 4.768, 2.123, 24.202 |
xyY | 0.153, 0.068, 2.123 |
CIE-LCH | 16.122, 80.23, 304.94 |
CIE-LUV | 16.122, -4.867, -61.486 |
Hunter-Lab | 14.572, 32.907, -88.273 |
Binary | 00000100, 00001100, 10001010 |
Color Schemes with #040c8a
Alternatives to #040c8a
Below, you can see some colors close to #040c8a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040c8a Preview
This text has a font color of #040c8a.
<span style="color:#040c8a;">Text here</span>
This paragraph has a background color of #040c8a.
<p style="background-color:#040c8a;">Content here</p>
This element has a border color of #040c8a.
<div style="border:1px solid #040c8a;">Content here</div>
.text {color:#040c8a;}
.background {background-color:#040c8a;}
.border {border:1px solid #040c8a;}
Shades and Tints of #040c8a
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, #000005 is the darkest color, while #f0f1ff is the lightest one.
-
#000005
#000005
rgb(0,0,5)
-
#010218
#010218
rgb(1,2,24)
-
#01042b
#01042b
rgb(1,4,43)
-
#02053e
#02053e
rgb(2,5,62)
-
#020751
#020751
rgb(2,7,81)
-
#030964
#030964
rgb(3,9,100)
-
#030a77
#030a77
rgb(3,10,119)
-
#040c8a
#040c8a
rgb(4,12,138)
-
#050e9d
#050e9d
rgb(5,14,157)
-
#050fb0
#050fb0
rgb(5,15,176)
-
#0611c3
#0611c3
rgb(6,17,195)
-
#0613d6
#0613d6
rgb(6,19,214)
-
#0714e9
#0714e9
rgb(7,20,233)
-
#0c1af8
#0c1af8
rgb(12,26,248)
-
#1f2cf9
#1f2cf9
rgb(31,44,249)
-
#323ef9
#323ef9
rgb(50,62,249)
-
#4550fa
#4550fa
rgb(69,80,250)
-
#5862fa
#5862fa
rgb(88,98,250)
-
#6b74fb
#6b74fb
rgb(107,116,251)
-
#7e86fb
#7e86fb
rgb(126,134,251)
-
#9198fc
#9198fc
rgb(145,152,252)
-
#a4aafc
#a4aafc
rgb(164,170,252)
-
#b7bbfd
#b7bbfd
rgb(183,187,253)
-
#cacdfd
#cacdfd
rgb(202,205,253)
-
#dddffe
#dddffe
rgb(221,223,254)
-
#f0f1ff
#f0f1ff
rgb(240,241,255)
Tones of #040c8a
A tone is produced by adding gray to any pure hue. In this case, #464648 is the less saturated color, while #040c8a is the most saturated one.
-
#464648
#464648
rgb(70,70,72)
-
#40414e
#40414e
rgb(64,65,78)
-
#3b3c53
#3b3c53
rgb(59,60,83)
-
#353759
#353759
rgb(53,55,89)
-
#30325e
#30325e
rgb(48,50,94)
-
#2a2e64
#2a2e64
rgb(42,46,100)
-
#252969
#252969
rgb(37,41,105)
-
#1f246f
#1f246f
rgb(31,36,111)
-
#1a1f74
#1a1f74
rgb(26,31,116)
-
#141a7a
#141a7a
rgb(20,26,122)
-
#0f167f
#0f167f
rgb(15,22,127)
-
#091185
#091185
rgb(9,17,133)
-
#040c8a
#040c8a
rgb(4,12,138)
Color Blindness Simulator
Below, you can see how #040c8a 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.