#040c7e Color Information
In a RGB color space, hex #040c7e is composed of 1.6% red, 4.7% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 96.8% cyan, 90.5% magenta, 0% yellow and 50.6% black. It has a hue angle of 236.1 degrees, a saturation of 93.8% and a lightness of 25.5%. #040c7e color hex could be obtained by blending #0818fc with #000000. Closest websafe color is: #000066.
-
- R 2
- G 5
- B 49
-
- C 97
- M 90
- Y 0
- K 51
● #040c7e color description : Dark blue.
#040c7e Color Conversion
The hexadecimal color #040c7e has RGB values of R:4, G:12, B:126 and CMYK values of C:0.97, M:0.9, Y:0, K:0.51. Its decimal value is 265342.
Hex triplet | 040c7e | #040c7e |
---|---|---|
RGB Decimal | 4, 12, 126 | rgb(4,12,126) |
RGB Percent | 1.6, 4.7, 49.4 | rgb(1.6%,4.7%,49.4%) |
CMYK | 97, 90, 0, 51 | |
HSL | 236.1°, 93.8, 25.5 | hsl(236.1,93.8%,25.5%) |
HSV (or HSB) | 236.1°, 96.8, 49.4 | |
Web Safe | 000066 | #000066 |
CIE-LAB | 14.371, 42.231, -61.089 |
---|---|
XYZ | 3.947, 1.795, 19.876 |
xyY | 0.154, 0.07, 1.795 |
CIE-LCH | 14.371, 74.265, 304.656 |
CIE-LUV | 14.371, -4.371, -54.15 |
Hunter-Lab | 13.397, 29.14, -78.585 |
Binary | 00000100, 00001100, 01111110 |
Color Schemes with #040c7e
Alternatives to #040c7e
Below, you can see some colors close to #040c7e. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040c7e Preview
This text has a font color of #040c7e.
<span style="color:#040c7e;">Text here</span>
This paragraph has a background color of #040c7e.
<p style="background-color:#040c7e;">Content here</p>
This element has a border color of #040c7e.
<div style="border:1px solid #040c7e;">Content here</div>
.text {color:#040c7e;}
.background {background-color:#040c7e;}
.border {border:1px solid #040c7e;}
Shades and Tints of #040c7e
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, #00010c is the darkest color, while #f8f8ff is the lightest one.
-
#00010c
#00010c
rgb(0,1,12)
-
#01031f
#01031f
rgb(1,3,31)
-
#020532
#020532
rgb(2,5,50)
-
#020745
#020745
rgb(2,7,69)
-
#030858
#030858
rgb(3,8,88)
-
#030a6b
#030a6b
rgb(3,10,107)
-
#040c7e
#040c7e
rgb(4,12,126)
-
#050e91
#050e91
rgb(5,14,145)
-
#0510a4
#0510a4
rgb(5,16,164)
-
#0611b7
#0611b7
rgb(6,17,183)
-
#0613ca
#0613ca
rgb(6,19,202)
-
#0715dd
#0715dd
rgb(7,21,221)
-
#0817f0
#0817f0
rgb(8,23,240)
-
#1423f8
#1423f8
rgb(20,35,248)
-
#2735f8
#2735f8
rgb(39,53,248)
-
#3a46f9
#3a46f9
rgb(58,70,249)
-
#4d58f9
#4d58f9
rgb(77,88,249)
-
#606afa
#606afa
rgb(96,106,250)
-
#737cfb
#737cfb
rgb(115,124,251)
-
#868efb
#868efb
rgb(134,142,251)
-
#999ffc
#999ffc
rgb(153,159,252)
-
#acb1fc
#acb1fc
rgb(172,177,252)
-
#bfc3fd
#bfc3fd
rgb(191,195,253)
-
#d2d5fe
#d2d5fe
rgb(210,213,254)
-
#e5e7fe
#e5e7fe
rgb(229,231,254)
-
#f8f8ff
#f8f8ff
rgb(248,248,255)
Tones of #040c7e
A tone is produced by adding gray to any pure hue. In this case, #404042 is the less saturated color, while #040c7e is the most saturated one.
-
#404042
#404042
rgb(64,64,66)
-
#3b3c47
#3b3c47
rgb(59,60,71)
-
#36374c
#36374c
rgb(54,55,76)
-
#313351
#313351
rgb(49,51,81)
-
#2c2f56
#2c2f56
rgb(44,47,86)
-
#272a5b
#272a5b
rgb(39,42,91)
-
#222660
#222660
rgb(34,38,96)
-
#1d2265
#1d2265
rgb(29,34,101)
-
#181d6a
#181d6a
rgb(24,29,106)
-
#13196f
#13196f
rgb(19,25,111)
-
#0e1574
#0e1574
rgb(14,21,116)
-
#091079
#091079
rgb(9,16,121)
-
#040c7e
#040c7e
rgb(4,12,126)
Color Blindness Simulator
Below, you can see how #040c7e 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.