#040f23 hex color
In a RGB color space, hex #040f23 is composed of 1.6% red, 5.9% green and 13.7% blue. Whereas in a CMYK color space, it is composed of 88.6% cyan, 57.1% magenta, 0% yellow and 86.3% black. It has a hue angle of 218.7 degrees, a saturation of 79.5% and a lightness of 7.6%. #040f23 color hex could be obtained by blending #081e46 with #000000. Closest websafe color is: #000033.
-
- R 2
- G 6
- B 14
RGB color chart
-
- C 89
- M 57
- Y 0
- K 86
CMYK color chart
● #040f23 color description : Very dark (mostly black) blue.
The hexadecimal color #040f23 has RGB values of R:4, G:15, B:35 and CMYK values of C:0.89, M:0.57, Y:0, K:0.86. Its decimal value is 266019.
Hex triplet | 040f23 | #040f23 |
---|---|---|
RGB Decimal | 4, 15, 35 | rgb(4,15,35) |
RGB Percent | 1.6, 5.9, 13.7 | rgb(1.6%,5.9%,13.7%) |
CMYK | 89, 57, 0, 86 | |
HSL | 218.7°, 79.5, 7.6 | hsl(218.7,79.5%,7.6%) |
HSV (or HSB) | 218.7°, 88.6, 13.7 | |
Web Safe | 000033 | #000033 |
CIE-LAB | 4.415, 2.443, -14.361 |
---|---|
XYZ | 0.524, 0.489, 1.657 |
xyY | 0.196, 0.183, 0.489 |
CIE-LCH | 4.415, 14.568, 279.654 |
CIE-LUV | 4.415, -1.972, -7.195 |
Hunter-Lab | 6.991, 1.149, -9.156 |
Binary | 00000100, 00001111, 00100011 |
Split Complementary Color
Below, you can see some colors close to #040f23. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #040f23
This text has a font color of #040f23.
<span style="color:#040f23;">Text here</span>
#040f23 background color
This paragraph has a background color of #040f23.
<p style="background-color:#040f23;">Content here</p>
#040f23 border color
This element has a border color of #040f23.
<div style="border:1px solid #040f23;">Content here</div>
CSS codes
.text {color:#040f23;}
.background {background-color:#040f23;}
.border {border:1px solid #040f23;}
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, #020711 is the darkest color, while #ffffff is the lightest one.
-
#020711
#020711
rgb(2,7,17)
-
#040f23
#040f23
rgb(4,15,35)
-
#061735
#061735
rgb(6,23,53)
-
#081e46
#081e46
rgb(8,30,70)
-
#0a2658
#0a2658
rgb(10,38,88)
-
#0c2d69
#0c2d69
rgb(12,45,105)
-
#0e357b
#0e357b
rgb(14,53,123)
-
#103c8d
#103c8d
rgb(16,60,141)
-
#12449e
#12449e
rgb(18,68,158)
-
#144bb0
#144bb0
rgb(20,75,176)
-
#1653c1
#1653c1
rgb(22,83,193)
-
#185ad3
#185ad3
rgb(24,90,211)
-
#1a62e5
#1a62e5
rgb(26,98,229)
Shade Color Variation
-
#2c6ee7
#2c6ee7
rgb(44,110,231)
-
#3d7ae9
#3d7ae9
rgb(61,122,233)
-
#4f86eb
#4f86eb
rgb(79,134,235)
-
#6092ed
#6092ed
rgb(96,146,237)
-
#729eef
#729eef
rgb(114,158,239)
-
#84aaf1
#84aaf1
rgb(132,170,241)
-
#95b6f3
#95b6f3
rgb(149,182,243)
-
#a7c3f5
#a7c3f5
rgb(167,195,245)
-
#b8cff7
#b8cff7
rgb(184,207,247)
-
#cadbf9
#cadbf9
rgb(202,219,249)
-
#dce7fb
#dce7fb
rgb(220,231,251)
-
#edf3fd
#edf3fd
rgb(237,243,253)
-
#ffffff
#ffffff
rgb(255,255,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #131314 is the less saturated color, while #010e26 is the most saturated one.
-
#131314
#131314
rgb(19,19,20)
-
#121316
#121316
rgb(18,19,22)
-
#101217
#101217
rgb(16,18,23)
-
#0f1219
#0f1219
rgb(15,18,25)
-
#0d121a
#0d121a
rgb(13,18,26)
-
#0c111c
#0c111c
rgb(12,17,28)
-
#0a111d
#0a111d
rgb(10,17,29)
-
#09101f
#09101f
rgb(9,16,31)
-
#071020
#071020
rgb(7,16,32)
-
#060f22
#060f22
rgb(6,15,34)
-
#040f23
#040f23
rgb(4,15,35)
-
#030f25
#030f25
rgb(3,15,37)
-
#010e26
#010e26
rgb(1,14,38)
Tone Color Variation
Below, you can see how #040f23 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