#040f97 hex color
In a RGB color space, hex #040f97 is composed of 1.6% red, 5.9% green and 59.2% blue. Whereas in a CMYK color space, it is composed of 97.4% cyan, 90.1% magenta, 0% yellow and 40.8% black. It has a hue angle of 235.5 degrees, a saturation of 94.8% and a lightness of 30.4%. #040f97 color hex could be obtained by blending #081eff with #00002f. Closest websafe color is: #000099.
-
- R 2
- G 6
- B 59
RGB color chart
-
- C 97
- M 90
- Y 0
- K 41
CMYK color chart
● #040f97 color description : Dark blue.
The hexadecimal color #040f97 has RGB values of R:4, G:15, B:151 and CMYK values of C:0.97, M:0.9, Y:0, K:0.41. Its decimal value is 266135.
Hex triplet | 040f97 | #040f97 |
---|---|---|
RGB Decimal | 4, 15, 151 | rgb(4,15,151) |
RGB Percent | 1.6, 5.9, 59.2 | rgb(1.6%,5.9%,59.2%) |
CMYK | 97, 90, 0, 41 | |
HSL | 235.5°, 94.8, 30.4 | hsl(235.5,94.8%,30.4%) |
HSV (or HSB) | 235.5°, 97.4, 59.2 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 18.371, 48.763, -70.114 |
---|---|
XYZ | 5.806, 2.601, 29.473 |
xyY | 0.153, 0.069, 2.601 |
CIE-LCH | 18.371, 85.404, 304.818 |
CIE-LUV | 18.371, -5.625, -69.886 |
Hunter-Lab | 16.129, 36.027, -97.052 |
Binary | 00000100, 00001111, 10010111 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #040f97. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #040f97
This text has a font color of #040f97.
<span style="color:#040f97;">Text here</span>
#040f97 background color
This paragraph has a background color of #040f97.
<p style="background-color:#040f97;">Content here</p>
#040f97 border color
This element has a border color of #040f97.
<div style="border:1px solid #040f97;">Content here</div>
CSS codes
.text {color:#040f97;}
.background {background-color:#040f97;}
.border {border:1px solid #040f97;}
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, #000211 is the darkest color, while #fdfdff is the lightest one.
-
#000211
#000211
rgb(0,2,17)
-
#010424
#010424
rgb(1,4,36)
-
#010637
#010637
rgb(1,6,55)
-
#02074b
#02074b
rgb(2,7,75)
-
#02095e
#02095e
rgb(2,9,94)
-
#030b71
#030b71
rgb(3,11,113)
-
#030d84
#030d84
rgb(3,13,132)
-
#040f97
#040f97
rgb(4,15,151)
-
#0511aa
#0511aa
rgb(5,17,170)
-
#0513bd
#0513bd
rgb(5,19,189)
-
#0615d0
#0615d0
rgb(6,21,208)
-
#0617e3
#0617e3
rgb(6,23,227)
-
#0718f7
#0718f7
rgb(7,24,247)
Shade Color Variation
-
#1829f9
#1829f9
rgb(24,41,249)
-
#2b3af9
#2b3af9
rgb(43,58,249)
-
#3e4cfa
#3e4cfa
rgb(62,76,250)
-
#515efa
#515efa
rgb(81,94,250)
-
#6470fb
#6470fb
rgb(100,112,251)
-
#7781fb
#7781fb
rgb(119,129,251)
-
#8a93fc
#8a93fc
rgb(138,147,252)
-
#9ea5fc
#9ea5fc
rgb(158,165,252)
-
#b1b6fd
#b1b6fd
rgb(177,182,253)
-
#c4c8fd
#c4c8fd
rgb(196,200,253)
-
#d7dafe
#d7dafe
rgb(215,218,254)
-
#eaecfe
#eaecfe
rgb(234,236,254)
-
#fdfdff
#fdfdff
rgb(253,253,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4c4c4f is the less saturated color, while #040f97 is the most saturated one.
-
#4c4c4f
#4c4c4f
rgb(76,76,79)
-
#464755
#464755
rgb(70,71,85)
-
#40425b
#40425b
rgb(64,66,91)
-
#3a3d61
#3a3d61
rgb(58,61,97)
-
#343867
#343867
rgb(52,56,103)
-
#2e326d
#2e326d
rgb(46,50,109)
-
#282d73
#282d73
rgb(40,45,115)
-
#222879
#222879
rgb(34,40,121)
-
#1c237f
#1c237f
rgb(28,35,127)
-
#161e85
#161e85
rgb(22,30,133)
-
#10198b
#10198b
rgb(16,25,139)
-
#0a1491
#0a1491
rgb(10,20,145)
-
#040f97
#040f97
rgb(4,15,151)
Tone Color Variation
Below, you can see how #040f97 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