#040fcc hex color
In a RGB color space, hex #040fcc is composed of 1.6% red, 5.9% green and 80% blue. Whereas in a CMYK color space, it is composed of 98% cyan, 92.6% magenta, 0% yellow and 20% black. It has a hue angle of 236.7 degrees, a saturation of 96.2% and a lightness of 40.8%. #040fcc color hex could be obtained by blending #081eff with #000099. Closest websafe color is: #0000cc.
-
- R 2
- G 6
- B 80
RGB color chart
-
- C 98
- M 93
- Y 0
- K 20
CMYK color chart
● #040fcc color description : Strong blue.
The hexadecimal color #040fcc has RGB values of R:4, G:15, B:204 and CMYK values of C:0.98, M:0.93, Y:0, K:0.2. Its decimal value is 266188.
Hex triplet | 040fcc | #040fcc |
---|---|---|
RGB Decimal | 4, 15, 204 | rgb(4,15,204) |
RGB Percent | 1.6, 5.9, 80 | rgb(1.6%,5.9%,80%) |
CMYK | 98, 93, 0, 20 | |
HSL | 236.7°, 96.2, 40.8 | hsl(236.7,96.2%,40.8%) |
HSV (or HSB) | 236.7°, 98, 80 | |
Web Safe | 0000cc | #0000cc |
CIE-LAB | 25.94, 63.753, -89.301 |
---|---|
XYZ | 11.118, 4.726, 57.45 |
xyY | 0.152, 0.064, 4.726 |
CIE-LCH | 25.94, 109.723, 305.523 |
CIE-LUV | 25.94, -7.758, -101.54 |
Hunter-Lab | 21.74, 53.24, -141.462 |
Binary | 00000100, 00001111, 11001100 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #040fcc. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #040fcc
This text has a font color of #040fcc.
<span style="color:#040fcc;">Text here</span>
#040fcc background color
This paragraph has a background color of #040fcc.
<p style="background-color:#040fcc;">Content here</p>
#040fcc border color
This element has a border color of #040fcc.
<div style="border:1px solid #040fcc;">Content here</div>
CSS codes
.text {color:#040fcc;}
.background {background-color:#040fcc;}
.border {border:1px solid #040fcc;}
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, #00010c is the darkest color, while #f7f8ff is the lightest one.
-
#00010c
#00010c
rgb(0,1,12)
-
#01021f
#01021f
rgb(1,2,31)
-
#010432
#010432
rgb(1,4,50)
-
#010545
#010545
rgb(1,5,69)
-
#020759
#020759
rgb(2,7,89)
-
#02086c
#02086c
rgb(2,8,108)
-
#02097f
#02097f
rgb(2,9,127)
-
#030b92
#030b92
rgb(3,11,146)
-
#030ca6
#030ca6
rgb(3,12,166)
-
#040eb9
#040eb9
rgb(4,14,185)
-
#040fcc
#040fcc
rgb(4,15,204)
-
#0410df
#0410df
rgb(4,16,223)
-
#0512f2
#0512f2
rgb(5,18,242)
Shade Color Variation
-
#111dfa
#111dfa
rgb(17,29,250)
-
#2430fb
#2430fb
rgb(36,48,251)
-
#3742fb
#3742fb
rgb(55,66,251)
-
#4a54fb
#4a54fb
rgb(74,84,251)
-
#5d66fc
#5d66fc
rgb(93,102,252)
-
#7178fc
#7178fc
rgb(113,120,252)
-
#848bfd
#848bfd
rgb(132,139,253)
-
#979dfd
#979dfd
rgb(151,157,253)
-
#aaaffd
#aaaffd
rgb(170,175,253)
-
#bec1fe
#bec1fe
rgb(190,193,254)
-
#d1d3fe
#d1d3fe
rgb(209,211,254)
-
#e4e6fe
#e4e6fe
rgb(228,230,254)
-
#f7f8ff
#f7f8ff
rgb(247,248,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #64646c is the less saturated color, while #040fcc is the most saturated one.
-
#64646c
#64646c
rgb(100,100,108)
-
#5c5d74
#5c5d74
rgb(92,93,116)
-
#54567c
#54567c
rgb(84,86,124)
-
#4c4f84
#4c4f84
rgb(76,79,132)
-
#44488c
#44488c
rgb(68,72,140)
-
#3c4194
#3c4194
rgb(60,65,148)
-
#343a9c
#343a9c
rgb(52,58,156)
-
#2c33a4
#2c33a4
rgb(44,51,164)
-
#242bac
#242bac
rgb(36,43,172)
-
#1c24b4
#1c24b4
rgb(28,36,180)
-
#141dbc
#141dbc
rgb(20,29,188)
-
#0c16c4
#0c16c4
rgb(12,22,196)
-
#040fcc
#040fcc
rgb(4,15,204)
Tone Color Variation
Below, you can see how #040fcc 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