#040ec8 hex color
In a RGB color space, hex #040ec8 is composed of 1.6% red, 5.5% green and 78.4% blue. Whereas in a CMYK color space, it is composed of 98% cyan, 93% magenta, 0% yellow and 21.6% black. It has a hue angle of 236.9 degrees, a saturation of 96.1% and a lightness of 40%. #040ec8 color hex could be obtained by blending #081cff with #000091. Closest websafe color is: #0000cc.
-
- R 2
- G 5
- B 78
RGB color chart
-
- C 98
- M 93
- Y 0
- K 22
CMYK color chart
● #040ec8 color description : Strong blue.
The hexadecimal color #040ec8 has RGB values of R:4, G:14, B:200 and CMYK values of C:0.98, M:0.93, Y:0, K:0.22. Its decimal value is 265928.
Hex triplet | 040ec8 | #040ec8 |
---|---|---|
RGB Decimal | 4, 14, 200 | rgb(4,14,200) |
RGB Percent | 1.6, 5.5, 78.4 | rgb(1.6%,5.5%,78.4%) |
CMYK | 98, 93, 0, 22 | |
HSL | 236.9°, 96.1, 40 | hsl(236.9,96.1%,40%) |
HSV (or HSB) | 236.9°, 98, 78.4 | |
Web Safe | 0000cc | #0000cc |
CIE-LAB | 25.288, 62.936, -88.047 |
---|---|
XYZ | 10.63, 4.509, 54.95 |
xyY | 0.152, 0.064, 4.509 |
CIE-LCH | 25.288, 108.228, 305.557 |
CIE-LUV | 25.288, -7.542, -99.087 |
Hunter-Lab | 21.235, 52.198, -138.564 |
Binary | 00000100, 00001110, 11001000 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #040ec8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #040ec8
This text has a font color of #040ec8.
<span style="color:#040ec8;">Text here</span>
#040ec8 background color
This paragraph has a background color of #040ec8.
<p style="background-color:#040ec8;">Content here</p>
#040ec8 border color
This element has a border color of #040ec8.
<div style="border:1px solid #040ec8;">Content here</div>
CSS codes
.text {color:#040ec8;}
.background {background-color:#040ec8;}
.border {border:1px solid #040ec8;}
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 #f3f4ff is the lightest one.
-
#000108
#000108
rgb(0,1,8)
-
#01021b
#01021b
rgb(1,2,27)
-
#01032e
#01032e
rgb(1,3,46)
-
#010541
#010541
rgb(1,5,65)
-
#020655
#020655
rgb(2,6,85)
-
#020768
#020768
rgb(2,7,104)
-
#02097b
#02097b
rgb(2,9,123)
-
#030a8e
#030a8e
rgb(3,10,142)
-
#030ba2
#030ba2
rgb(3,11,162)
-
#040db5
#040db5
rgb(4,13,181)
-
#040ec8
#040ec8
rgb(4,14,200)
-
#040fdb
#040fdb
rgb(4,15,219)
-
#0511ee
#0511ee
rgb(5,17,238)
Shade Color Variation
-
#0d19fa
#0d19fa
rgb(13,25,250)
-
#202bfb
#202bfb
rgb(32,43,251)
-
#333dfb
#333dfb
rgb(51,61,251)
-
#4650fb
#4650fb
rgb(70,80,251)
-
#5a62fc
#5a62fc
rgb(90,98,252)
-
#6d74fc
#6d74fc
rgb(109,116,252)
-
#8086fc
#8086fc
rgb(128,134,252)
-
#9399fd
#9399fd
rgb(147,153,253)
-
#a7abfd
#a7abfd
rgb(167,171,253)
-
#babdfe
#babdfe
rgb(186,189,254)
-
#cdd0fe
#cdd0fe
rgb(205,208,254)
-
#e0e2fe
#e0e2fe
rgb(224,226,254)
-
#f3f4ff
#f3f4ff
rgb(243,244,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #62636a is the less saturated color, while #040ec8 is the most saturated one.
-
#62636a
#62636a
rgb(98,99,106)
-
#5a5c72
#5a5c72
rgb(90,92,114)
-
#52547a
#52547a
rgb(82,84,122)
-
#4b4d81
#4b4d81
rgb(75,77,129)
-
#434689
#434689
rgb(67,70,137)
-
#3b3f91
#3b3f91
rgb(59,63,145)
-
#333899
#333899
rgb(51,56,153)
-
#2b31a1
#2b31a1
rgb(43,49,161)
-
#232aa9
#232aa9
rgb(35,42,169)
-
#1c23b0
#1c23b0
rgb(28,35,176)
-
#141cb8
#141cb8
rgb(20,28,184)
-
#0c15c0
#0c15c0
rgb(12,21,192)
-
#040ec8
#040ec8
rgb(4,14,200)
Tone Color Variation
Below, you can see how #040ec8 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