#040f4a hex color
In a RGB color space, hex #040f4a is composed of 1.6% red, 5.9% green and 29% blue. Whereas in a CMYK color space, it is composed of 94.6% cyan, 79.7% magenta, 0% yellow and 71% black. It has a hue angle of 230.6 degrees, a saturation of 89.7% and a lightness of 15.3%. #040f4a color hex could be obtained by blending #081e94 with #000000. Closest websafe color is: #000033.
-
- R 2
- G 6
- B 29
RGB color chart
-
- C 95
- M 80
- Y 0
- K 71
CMYK color chart
● #040f4a color description : Very dark blue.
The hexadecimal color #040f4a has RGB values of R:4, G:15, B:74 and CMYK values of C:0.95, M:0.8, Y:0, K:0.71. Its decimal value is 266058.
Hex triplet | 040f4a | #040f4a |
---|---|---|
RGB Decimal | 4, 15, 74 | rgb(4,15,74) |
RGB Percent | 1.6, 5.9, 29 | rgb(1.6%,5.9%,29%) |
CMYK | 95, 80, 0, 71 | |
HSL | 230.6°, 89.7, 15.3 | hsl(230.6,89.7%,15.3%) |
HSV (or HSB) | 230.6°, 94.6, 29 | |
Web Safe | 000033 | #000033 |
CIE-LAB | 7.784, 21.679, -37.429 |
---|---|
XYZ | 1.457, 0.862, 6.568 |
xyY | 0.164, 0.097, 0.862 |
CIE-LCH | 7.784, 43.254, 300.08 |
CIE-LUV | 7.784, -2.722, -24.368 |
Hunter-Lab | 9.283, 11.764, -35.449 |
Binary | 00000100, 00001111, 01001010 |
Split Complementary Color
Below, you can see some colors close to #040f4a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #040f4a
This text has a font color of #040f4a.
<span style="color:#040f4a;">Text here</span>
#040f4a background color
This paragraph has a background color of #040f4a.
<p style="background-color:#040f4a;">Content here</p>
#040f4a border color
This element has a border color of #040f4a.
<div style="border:1px solid #040f4a;">Content here</div>
CSS codes
.text {color:#040f4a;}
.background {background-color:#040f4a;}
.border {border:1px solid #040f4a;}
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, #010412 is the darkest color, while #ffffff is the lightest one.
-
#010412
#010412
rgb(1,4,18)
-
#020725
#020725
rgb(2,7,37)
-
#030b37
#030b37
rgb(3,11,55)
-
#040f4a
#040f4a
rgb(4,15,74)
-
#05135d
#05135d
rgb(5,19,93)
-
#06176f
#06176f
rgb(6,23,111)
-
#071a82
#071a82
rgb(7,26,130)
-
#081e94
#081e94
rgb(8,30,148)
-
#0922a7
#0922a7
rgb(9,34,167)
-
#0a26ba
#0a26ba
rgb(10,38,186)
-
#0b29cc
#0b29cc
rgb(11,41,204)
-
#0c2ddf
#0c2ddf
rgb(12,45,223)
-
#0d31f1
#0d31f1
rgb(13,49,241)
Shade Color Variation
-
#1f41f3
#1f41f3
rgb(31,65,243)
-
#3250f4
#3250f4
rgb(50,80,244)
-
#4460f5
#4460f5
rgb(68,96,245)
-
#5770f6
#5770f6
rgb(87,112,246)
-
#6a80f7
#6a80f7
rgb(106,128,247)
-
#7c90f8
#7c90f8
rgb(124,144,248)
-
#8fa0f9
#8fa0f9
rgb(143,160,249)
-
#a2affa
#a2affa
rgb(162,175,250)
-
#b4bffb
#b4bffb
rgb(180,191,251)
-
#c7cffc
#c7cffc
rgb(199,207,252)
-
#d9dffd
#d9dffd
rgb(217,223,253)
-
#eceffe
#eceffe
rgb(236,239,254)
-
#ffffff
#ffffff
rgb(255,255,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #252629 is the less saturated color, while #010d4d is the most saturated one.
-
#252629
#252629
rgb(37,38,41)
-
#22242c
#22242c
rgb(34,36,44)
-
#1f222f
#1f222f
rgb(31,34,47)
-
#1c1f32
#1c1f32
rgb(28,31,50)
-
#191d35
#191d35
rgb(25,29,53)
-
#161b38
#161b38
rgb(22,27,56)
-
#13193b
#13193b
rgb(19,25,59)
-
#10173e
#10173e
rgb(16,23,62)
-
#0d1541
#0d1541
rgb(13,21,65)
-
#0a1344
#0a1344
rgb(10,19,68)
-
#071147
#071147
rgb(7,17,71)
-
#040f4a
#040f4a
rgb(4,15,74)
-
#010d4d
#010d4d
rgb(1,13,77)
Tone Color Variation
Below, you can see how #040f4a 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