#040fb6 hex color
In a RGB color space, hex #040fb6 is composed of 1.6% red, 5.9% green and 71.4% blue. Whereas in a CMYK color space, it is composed of 97.8% cyan, 91.8% magenta, 0% yellow and 28.6% black. It has a hue angle of 236.3 degrees, a saturation of 95.7% and a lightness of 36.5%. #040fb6 color hex could be obtained by blending #081eff with #00006d. Closest websafe color is: #0000cc.
-
- R 2
- G 6
- B 71
RGB color chart
-
- C 98
- M 92
- Y 0
- K 29
CMYK color chart
● #040fb6 color description : Strong blue.
The hexadecimal color #040fb6 has RGB values of R:4, G:15, B:182 and CMYK values of C:0.98, M:0.92, Y:0, K:0.29. Its decimal value is 266166.
Hex triplet | 040fb6 | #040fb6 |
---|---|---|
RGB Decimal | 4, 15, 182 | rgb(4,15,182) |
RGB Percent | 1.6, 5.9, 71.4 | rgb(1.6%,5.9%,71.4%) |
CMYK | 98, 92, 0, 29 | |
HSL | 236.3°, 95.7, 36.5 | hsl(236.3,95.7%,36.5%) |
HSV (or HSB) | 236.3°, 97.8, 71.4 | |
Web Safe | 0000cc | #0000cc |
CIE-LAB | 22.807, 57.742, -81.535 |
---|---|
XYZ | 8.663, 3.744, 44.52 |
xyY | 0.152, 0.066, 3.744 |
CIE-LCH | 22.807, 99.91, 305.306 |
CIE-LUV | 22.807, -6.871, -88.495 |
Hunter-Lab | 19.35, 46.05, -122.868 |
Binary | 00000100, 00001111, 10110110 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #040fb6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #040fb6
This text has a font color of #040fb6.
<span style="color:#040fb6;">Text here</span>
#040fb6 background color
This paragraph has a background color of #040fb6.
<p style="background-color:#040fb6;">Content here</p>
#040fb6 border color
This element has a border color of #040fb6.
<div style="border:1px solid #040fb6;">Content here</div>
CSS codes
.text {color:#040fb6;}
.background {background-color:#040fb6;}
.border {border:1px solid #040fb6;}
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, #000109 is the darkest color, while #f5f6ff is the lightest one.
-
#000109
#000109
rgb(0,1,9)
-
#01021c
#01021c
rgb(1,2,28)
-
#010430
#010430
rgb(1,4,48)
-
#010643
#010643
rgb(1,6,67)
-
#020756
#020756
rgb(2,7,86)
-
#020969
#020969
rgb(2,9,105)
-
#030a7c
#030a7c
rgb(3,10,124)
-
#030c90
#030c90
rgb(3,12,144)
-
#040da3
#040da3
rgb(4,13,163)
-
#040fb6
#040fb6
rgb(4,15,182)
-
#0411c9
#0411c9
rgb(4,17,201)
-
#0512dc
#0512dc
rgb(5,18,220)
-
#0514f0
#0514f0
rgb(5,20,240)
Shade Color Variation
-
#0f1dfa
#0f1dfa
rgb(15,29,250)
-
#222ffa
#222ffa
rgb(34,47,250)
-
#3541fb
#3541fb
rgb(53,65,251)
-
#4853fb
#4853fb
rgb(72,83,251)
-
#5c65fb
#5c65fb
rgb(92,101,251)
-
#6f77fc
#6f77fc
rgb(111,119,252)
-
#8289fc
#8289fc
rgb(130,137,252)
-
#959bfd
#959bfd
rgb(149,155,253)
-
#a8aefd
#a8aefd
rgb(168,174,253)
-
#bbc0fe
#bbc0fe
rgb(187,192,254)
-
#cfd2fe
#cfd2fe
rgb(207,210,254)
-
#e2e4fe
#e2e4fe
rgb(226,228,254)
-
#f5f6ff
#f5f6ff
rgb(245,246,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5a5a60 is the less saturated color, while #040fb6 is the most saturated one.
-
#5a5a60
#5a5a60
rgb(90,90,96)
-
#535467
#535467
rgb(83,84,103)
-
#4c4e6e
#4c4e6e
rgb(76,78,110)
-
#444776
#444776
rgb(68,71,118)
-
#3d417d
#3d417d
rgb(61,65,125)
-
#363b84
#363b84
rgb(54,59,132)
-
#2f358b
#2f358b
rgb(47,53,139)
-
#282e92
#282e92
rgb(40,46,146)
-
#212899
#212899
rgb(33,40,153)
-
#1922a1
#1922a1
rgb(25,34,161)
-
#121ca8
#121ca8
rgb(18,28,168)
-
#0b15af
#0b15af
rgb(11,21,175)
-
#040fb6
#040fb6
rgb(4,15,182)
Tone Color Variation
Below, you can see how #040fb6 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