#040f7d hex color
In a RGB color space, hex #040f7d is composed of 1.6% red, 5.9% green and 49% blue. Whereas in a CMYK color space, it is composed of 96.8% cyan, 88% magenta, 0% yellow and 51% black. It has a hue angle of 234.5 degrees, a saturation of 93.8% and a lightness of 25.3%. #040f7d color hex could be obtained by blending #081efa with #000000. Closest websafe color is: #000066.
-
- R 2
- G 6
- B 49
RGB color chart
-
- C 97
- M 88
- Y 0
- K 51
CMYK color chart
● #040f7d color description : Dark blue.
The hexadecimal color #040f7d has RGB values of R:4, G:15, B:125 and CMYK values of C:0.97, M:0.88, Y:0, K:0.51. Its decimal value is 266109.
Hex triplet | 040f7d | #040f7d |
---|---|---|
RGB Decimal | 4, 15, 125 | rgb(4,15,125) |
RGB Percent | 1.6, 5.9, 49 | rgb(1.6%,5.9%,49%) |
CMYK | 97, 88, 0, 51 | |
HSL | 234.5°, 93.8, 25.3 | hsl(234.5,93.8%,25.3%) |
HSV (or HSB) | 234.5°, 96.8, 49 | |
Web Safe | 000066 | #000066 |
CIE-LAB | 14.667, 40.59, -59.957 |
---|---|
XYZ | 3.922, 1.848, 19.551 |
xyY | 0.155, 0.073, 1.848 |
CIE-LCH | 14.667, 72.404, 304.097 |
CIE-LUV | 14.667, -4.595, -54.181 |
Hunter-Lab | 13.593, 27.71, -75.759 |
Binary | 00000100, 00001111, 01111101 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #040f7d. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #040f7d
This text has a font color of #040f7d.
<span style="color:#040f7d;">Text here</span>
#040f7d background color
This paragraph has a background color of #040f7d.
<p style="background-color:#040f7d;">Content here</p>
#040f7d border color
This element has a border color of #040f7d.
<div style="border:1px solid #040f7d;">Content here</div>
CSS codes
.text {color:#040f7d;}
.background {background-color:#040f7d;}
.border {border:1px solid #040f7d;}
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, #00010b is the darkest color, while #f7f8ff is the lightest one.
-
#00010b
#00010b
rgb(0,1,11)
-
#01041e
#01041e
rgb(1,4,30)
-
#020631
#020631
rgb(2,6,49)
-
#020844
#020844
rgb(2,8,68)
-
#030a57
#030a57
rgb(3,10,87)
-
#030d6a
#030d6a
rgb(3,13,106)
-
#040f7d
#040f7d
rgb(4,15,125)
-
#051190
#051190
rgb(5,17,144)
-
#0514a3
#0514a3
rgb(5,20,163)
-
#0616b6
#0616b6
rgb(6,22,182)
-
#0618c9
#0618c9
rgb(6,24,201)
-
#071adc
#071adc
rgb(7,26,220)
-
#081def
#081def
rgb(8,29,239)
Shade Color Variation
-
#1328f7
#1328f7
rgb(19,40,247)
-
#2639f8
#2639f8
rgb(38,57,248)
-
#394af9
#394af9
rgb(57,74,249)
-
#4c5cf9
#4c5cf9
rgb(76,92,249)
-
#5f6dfa
#5f6dfa
rgb(95,109,250)
-
#727efa
#727efa
rgb(114,126,250)
-
#8590fb
#8590fb
rgb(133,144,251)
-
#98a1fc
#98a1fc
rgb(152,161,252)
-
#abb2fc
#abb2fc
rgb(171,178,252)
-
#bec4fd
#bec4fd
rgb(190,196,253)
-
#d1d5fe
#d1d5fe
rgb(209,213,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, #404041 is the less saturated color, while #040f7d is the most saturated one.
-
#404041
#404041
rgb(64,64,65)
-
#3b3c46
#3b3c46
rgb(59,60,70)
-
#36384b
#36384b
rgb(54,56,75)
-
#313450
#313450
rgb(49,52,80)
-
#2c2f55
#2c2f55
rgb(44,47,85)
-
#272b5a
#272b5a
rgb(39,43,90)
-
#22275f
#22275f
rgb(34,39,95)
-
#1d2364
#1d2364
rgb(29,35,100)
-
#181f69
#181f69
rgb(24,31,105)
-
#131b6e
#131b6e
rgb(19,27,110)
-
#0e1773
#0e1773
rgb(14,23,115)
-
#091378
#091378
rgb(9,19,120)
-
#040f7d
#040f7d
rgb(4,15,125)
Tone Color Variation
Below, you can see how #040f7d 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