#040c8c Color Information
In a RGB color space, hex #040c8c is composed of 1.6% red, 4.7% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 97.1% cyan, 91.4% magenta, 0% yellow and 45.1% black. It has a hue angle of 236.5 degrees, a saturation of 94.4% and a lightness of 28.2%. #040c8c color hex could be obtained by blending #0818ff with #000019. Closest websafe color is: #000099.
-
- R 2
- G 5
- B 55
-
- C 97
- M 91
- Y 0
- K 45
● #040c8c color description : Dark blue.
#040c8c Color Conversion
The hexadecimal color #040c8c has RGB values of R:4, G:12, B:140 and CMYK values of C:0.97, M:0.91, Y:0, K:0.45. Its decimal value is 265356.
| Hex triplet | 040c8c | #040c8c |
|---|---|---|
| RGB Decimal | 4, 12, 140 | rgb(4,12,140) |
| RGB Percent | 1.6, 4.7, 54.9 | rgb(1.6%,4.7%,54.9%) |
| CMYK | 97, 91, 0, 45 | |
| HSL | 236.5°, 94.4, 28.2 | hsl(236.5,94.4%,28.2%) |
| HSV (or HSB) | 236.5°, 97.1, 54.9 | |
| Web Safe | 000099 | #000099 |
| CIE-LAB | 16.414, 46.555, -66.536 |
|---|---|
| XYZ | 4.914, 2.182, 24.972 |
| xyY | 0.153, 0.068, 2.182 |
| CIE-LCH | 16.414, 81.206, 304.98 |
| CIE-LUV | 16.414, -4.95, -62.708 |
| Hunter-Lab | 14.771, 33.537, -89.895 |
| Binary | 00000100, 00001100, 10001100 |
Color Schemes with #040c8c
Alternatives to #040c8c
Below, you can see some colors close to #040c8c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040c8c Preview
This text has a font color of #040c8c.
<span style="color:#040c8c;">Text here</span>
This paragraph has a background color of #040c8c.
<p style="background-color:#040c8c;">Content here</p>
This element has a border color of #040c8c.
<div style="border:1px solid #040c8c;">Content here</div>
.text {color:#040c8c;}
.background {background-color:#040c8c;}
.border {border:1px solid #040c8c;}
Shades and Tints of #040c8c
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 #f2f3ff is the lightest one.
-
#000107
#000107rgb(0,1,7) -
#01021a
#01021argb(1,2,26) -
#01042d
#01042drgb(1,4,45) -
#020540
#020540rgb(2,5,64) -
#020753
#020753rgb(2,7,83) -
#030966
#030966rgb(3,9,102) -
#030a79
#030a79rgb(3,10,121) -
#040c8c
#040c8crgb(4,12,140) -
#050e9f
#050e9frgb(5,14,159) -
#050fb2
#050fb2rgb(5,15,178) -
#0611c5
#0611c5rgb(6,17,197) -
#0613d8
#0613d8rgb(6,19,216) -
#0714eb
#0714ebrgb(7,20,235)
-
#0e1bf8
#0e1bf8rgb(14,27,248) -
#212df9
#212df9rgb(33,45,249) -
#343ff9
#343ff9rgb(52,63,249) -
#4751fa
#4751fargb(71,81,250) -
#5a63fa
#5a63fargb(90,99,250) -
#6d75fb
#6d75fbrgb(109,117,251) -
#8087fb
#8087fbrgb(128,135,251) -
#9399fc
#9399fcrgb(147,153,252) -
#a6abfc
#a6abfcrgb(166,171,252) -
#b9bdfd
#b9bdfdrgb(185,189,253) -
#cccffe
#cccffergb(204,207,254) -
#dfe1fe
#dfe1fergb(223,225,254) -
#f2f3ff
#f2f3ffrgb(242,243,255)
Tones of #040c8c
A tone is produced by adding gray to any pure hue. In this case, #46474a is the less saturated color, while #040c8c is the most saturated one.
-
#46474a
#46474argb(70,71,74) -
#41424f
#41424frgb(65,66,79) -
#3b3d55
#3b3d55rgb(59,61,85) -
#36385a
#36385argb(54,56,90) -
#303360
#303360rgb(48,51,96) -
#2b2e65
#2b2e65rgb(43,46,101) -
#25296b
#25296brgb(37,41,107) -
#202470
#202470rgb(32,36,112) -
#1a2076
#1a2076rgb(26,32,118) -
#151b7b
#151b7brgb(21,27,123) -
#0f1681
#0f1681rgb(15,22,129) -
#0a1186
#0a1186rgb(10,17,134) -
#040c8c
#040c8crgb(4,12,140)
Color Blindness Simulator
Below, you can see how #040c8c 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.
