#040f9b hex color
In a RGB color space, hex #040f9b is composed of 1.6% red, 5.9% green and 60.8% blue. Whereas in a CMYK color space, it is composed of 97.4% cyan, 90.3% magenta, 0% yellow and 39.2% black. It has a hue angle of 235.6 degrees, a saturation of 95% and a lightness of 31.2%. #040f9b color hex could be obtained by blending #081eff with #000037. Closest websafe color is: #000099.
-
- R 2
- G 6
- B 61
RGB color chart
-
- C 97
- M 90
- Y 0
- K 39
CMYK color chart
● #040f9b color description : Dark blue.
The hexadecimal color #040f9b has RGB values of R:4, G:15, B:155 and CMYK values of C:0.97, M:0.9, Y:0, K:0.39. Its decimal value is 266139.
Hex triplet | 040f9b | #040f9b |
---|---|---|
RGB Decimal | 4, 15, 155 | rgb(4,15,155) |
RGB Percent | 1.6, 5.9, 60.8 | rgb(1.6%,5.9%,60.8%) |
CMYK | 97, 90, 0, 39 | |
HSL | 235.6°, 95, 31.2 | hsl(235.6,95%,31.2%) |
HSV (or HSB) | 235.6°, 97.4, 60.8 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 18.943, 49.962, -71.625 |
---|---|
XYZ | 6.136, 2.734, 31.213 |
xyY | 0.153, 0.068, 2.734 |
CIE-LCH | 18.943, 87.329, 304.898 |
CIE-LUV | 18.943, -5.785, -72.298 |
Hunter-Lab | 16.533, 37.314, -100.358 |
Binary | 00000100, 00001111, 10011011 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #040f9b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #040f9b
This text has a font color of #040f9b.
<span style="color:#040f9b;">Text here</span>
#040f9b background color
This paragraph has a background color of #040f9b.
<p style="background-color:#040f9b;">Content here</p>
#040f9b border color
This element has a border color of #040f9b.
<div style="border:1px solid #040f9b;">Content here</div>
CSS codes
.text {color:#040f9b;}
.background {background-color:#040f9b;}
.border {border:1px solid #040f9b;}
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, #000002 is the darkest color, while #eeefff is the lightest one.
-
#000002
#000002
rgb(0,0,2)
-
#010215
#010215
rgb(1,2,21)
-
#010428
#010428
rgb(1,4,40)
-
#02063b
#02063b
rgb(2,6,59)
-
#02084f
#02084f
rgb(2,8,79)
-
#030962
#030962
rgb(3,9,98)
-
#030b75
#030b75
rgb(3,11,117)
-
#040d88
#040d88
rgb(4,13,136)
-
#040f9b
#040f9b
rgb(4,15,155)
-
#0411ae
#0411ae
rgb(4,17,174)
-
#0513c1
#0513c1
rgb(5,19,193)
-
#0515d4
#0515d4
rgb(5,21,212)
-
#0616e7
#0616e7
rgb(6,22,231)
Shade Color Variation
-
#081af9
#081af9
rgb(8,26,249)
-
#1c2cf9
#1c2cf9
rgb(28,44,249)
-
#2f3dfa
#2f3dfa
rgb(47,61,250)
-
#424ffa
#424ffa
rgb(66,79,250)
-
#5561fb
#5561fb
rgb(85,97,251)
-
#6873fb
#6873fb
rgb(104,115,251)
-
#7b85fc
#7b85fc
rgb(123,133,252)
-
#8e96fc
#8e96fc
rgb(142,150,252)
-
#a1a8fd
#a1a8fd
rgb(161,168,253)
-
#b5bafd
#b5bafd
rgb(181,186,253)
-
#c8ccfe
#c8ccfe
rgb(200,204,254)
-
#dbddfe
#dbddfe
rgb(219,221,254)
-
#eeefff
#eeefff
rgb(238,239,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4d4e52 is the less saturated color, while #040f9b is the most saturated one.
-
#4d4e52
#4d4e52
rgb(77,78,82)
-
#474858
#474858
rgb(71,72,88)
-
#41435e
#41435e
rgb(65,67,94)
-
#3b3e64
#3b3e64
rgb(59,62,100)
-
#35396a
#35396a
rgb(53,57,106)
-
#2f3470
#2f3470
rgb(47,52,112)
-
#292e76
#292e76
rgb(41,46,118)
-
#23297c
#23297c
rgb(35,41,124)
-
#1c2483
#1c2483
rgb(28,36,131)
-
#161f89
#161f89
rgb(22,31,137)
-
#10198f
#10198f
rgb(16,25,143)
-
#0a1495
#0a1495
rgb(10,20,149)
-
#040f9b
#040f9b
rgb(4,15,155)
Tone Color Variation
Below, you can see how #040f9b 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