#040c8d Color Information
In a RGB color space, hex #040c8d is composed of 1.6% red, 4.7% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 97.2% cyan, 91.5% magenta, 0% yellow and 44.7% black. It has a hue angle of 236.5 degrees, a saturation of 94.5% and a lightness of 28.4%. #040c8d color hex could be obtained by blending #0818ff with #00001b. Closest websafe color is: #000099.
-
- R 2
- G 5
- B 55
-
- C 97
- M 91
- Y 0
- K 45
● #040c8d color description : Dark blue.
#040c8d Color Conversion
The hexadecimal color #040c8d has RGB values of R:4, G:12, B:141 and CMYK values of C:0.97, M:0.91, Y:0, K:0.45. Its decimal value is 265357.
Hex triplet | 040c8d | #040c8d |
---|---|---|
RGB Decimal | 4, 12, 141 | rgb(4,12,141) |
RGB Percent | 1.6, 4.7, 55.3 | rgb(1.6%,4.7%,55.3%) |
CMYK | 97, 91, 0, 45 | |
HSL | 236.5°, 94.5, 28.4 | hsl(236.5,94.5%,28.4%) |
HSV (or HSB) | 236.5°, 97.2, 55.3 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 16.56, 46.856, -66.918 |
---|---|
XYZ | 4.988, 2.211, 25.362 |
xyY | 0.153, 0.068, 2.211 |
CIE-LCH | 16.56, 81.692, 305 |
CIE-LUV | 16.56, -4.992, -63.319 |
Hunter-Lab | 14.871, 33.852, -90.707 |
Binary | 00000100, 00001100, 10001101 |
Color Schemes with #040c8d
Alternatives to #040c8d
Below, you can see some colors close to #040c8d. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040c8d Preview
This text has a font color of #040c8d.
<span style="color:#040c8d;">Text here</span>
This paragraph has a background color of #040c8d.
<p style="background-color:#040c8d;">Content here</p>
This element has a border color of #040c8d.
<div style="border:1px solid #040c8d;">Content here</div>
.text {color:#040c8d;}
.background {background-color:#040c8d;}
.border {border:1px solid #040c8d;}
Shades and Tints of #040c8d
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, #000107 is the darkest color, while #f3f4ff is the lightest one.
-
#000107
#000107
rgb(0,1,7)
-
#01021b
#01021b
rgb(1,2,27)
-
#01042e
#01042e
rgb(1,4,46)
-
#020641
#020641
rgb(2,6,65)
-
#020754
#020754
rgb(2,7,84)
-
#030967
#030967
rgb(3,9,103)
-
#030a7a
#030a7a
rgb(3,10,122)
-
#040c8d
#040c8d
rgb(4,12,141)
-
#050ea0
#050ea0
rgb(5,14,160)
-
#050fb3
#050fb3
rgb(5,15,179)
-
#0611c6
#0611c6
rgb(6,17,198)
-
#0612d9
#0612d9
rgb(6,18,217)
-
#0714ec
#0714ec
rgb(7,20,236)
-
#0f1cf8
#0f1cf8
rgb(15,28,248)
-
#222ef9
#222ef9
rgb(34,46,249)
-
#3540f9
#3540f9
rgb(53,64,249)
-
#4852fa
#4852fa
rgb(72,82,250)
-
#5b64fa
#5b64fa
rgb(91,100,250)
-
#6e76fb
#6e76fb
rgb(110,118,251)
-
#8188fb
#8188fb
rgb(129,136,251)
-
#949afc
#949afc
rgb(148,154,252)
-
#a7acfd
#a7acfd
rgb(167,172,253)
-
#babefd
#babefd
rgb(186,190,253)
-
#cdd0fe
#cdd0fe
rgb(205,208,254)
-
#e0e2fe
#e0e2fe
rgb(224,226,254)
-
#f3f4ff
#f3f4ff
rgb(243,244,255)
Tones of #040c8d
A tone is produced by adding gray to any pure hue. In this case, #47474a is the less saturated color, while #040c8d is the most saturated one.
-
#47474a
#47474a
rgb(71,71,74)
-
#414250
#414250
rgb(65,66,80)
-
#3c3d55
#3c3d55
rgb(60,61,85)
-
#36385b
#36385b
rgb(54,56,91)
-
#313360
#313360
rgb(49,51,96)
-
#2b2e66
#2b2e66
rgb(43,46,102)
-
#252a6c
#252a6c
rgb(37,42,108)
-
#202571
#202571
rgb(32,37,113)
-
#1a2077
#1a2077
rgb(26,32,119)
-
#151b7c
#151b7c
rgb(21,27,124)
-
#0f1682
#0f1682
rgb(15,22,130)
-
#0a1187
#0a1187
rgb(10,17,135)
-
#040c8d
#040c8d
rgb(4,12,141)
Color Blindness Simulator
Below, you can see how #040c8d 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.