#040cab Color Information
In a RGB color space, hex #040cab is composed of 1.6% red, 4.7% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 97.7% cyan, 93% magenta, 0% yellow and 32.9% black. It has a hue angle of 237.1 degrees, a saturation of 95.4% and a lightness of 34.3%. #040cab color hex could be obtained by blending #0818ff with #000057. Closest websafe color is: #000099.
-
- R 2
- G 5
- B 67
-
- C 98
- M 93
- Y 0
- K 33
● #040cab color description : Dark blue.
#040cab Color Conversion
The hexadecimal color #040cab has RGB values of R:4, G:12, B:171 and CMYK values of C:0.98, M:0.93, Y:0, K:0.33. Its decimal value is 265387.
| Hex triplet | 040cab | #040cab |
|---|---|---|
| RGB Decimal | 4, 12, 171 | rgb(4,12,171) |
| RGB Percent | 1.6, 4.7, 67.1 | rgb(1.6%,4.7%,67.1%) |
| CMYK | 98, 93, 0, 33 | |
| HSL | 237.1°, 95.4, 34.3 | hsl(237.1,95.4%,34.3%) |
| HSV (or HSB) | 237.1°, 97.7, 67.1 | |
| Web Safe | 000099 | #000099 |
| CIE-LAB | 20.936, 55.543, -78.051 |
|---|---|
| XYZ | 7.531, 3.228, 38.752 |
| xyY | 0.152, 0.065, 3.228 |
| CIE-LCH | 20.936, 95.796, 305.437 |
| CIE-LUV | 20.936, -6.239, -81.548 |
| Hunter-Lab | 17.968, 43.37, -115.296 |
| Binary | 00000100, 00001100, 10101011 |
Color Schemes with #040cab
Alternatives to #040cab
Below, you can see some colors close to #040cab. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040cab Preview
This text has a font color of #040cab.
<span style="color:#040cab;">Text here</span>
This paragraph has a background color of #040cab.
<p style="background-color:#040cab;">Content here</p>
This element has a border color of #040cab.
<div style="border:1px solid #040cab;">Content here</div>
.text {color:#040cab;}
.background {background-color:#040cab;}
.border {border:1px solid #040cab;}
Shades and Tints of #040cab
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, #000112 is the darkest color, while #fdfeff is the lightest one.
-
#000112
#000112rgb(0,1,18) -
#010325
#010325rgb(1,3,37) -
#010438
#010438rgb(1,4,56) -
#02054b
#02054brgb(2,5,75) -
#02075e
#02075ergb(2,7,94) -
#030871
#030871rgb(3,8,113) -
#030985
#030985rgb(3,9,133) -
#040b98
#040b98rgb(4,11,152) -
#040cab
#040cabrgb(4,12,171) -
#040dbe
#040dbergb(4,13,190) -
#050fd1
#050fd1rgb(5,15,209) -
#0510e5
#0510e5rgb(5,16,229) -
#0611f8
#0611f8rgb(6,17,248)
-
#1722fa
#1722fargb(23,34,250) -
#2b35fa
#2b35fargb(43,53,250) -
#3e47fa
#3e47fargb(62,71,250) -
#5159fb
#5159fbrgb(81,89,251) -
#646bfb
#646bfbrgb(100,107,251) -
#777efc
#777efcrgb(119,126,252) -
#8a90fc
#8a90fcrgb(138,144,252) -
#9ea2fd
#9ea2fdrgb(158,162,253) -
#b1b4fd
#b1b4fdrgb(177,180,253) -
#c4c7fe
#c4c7fergb(196,199,254) -
#d7d9fe
#d7d9fergb(215,217,254) -
#eaebff
#eaebffrgb(234,235,255) -
#fdfeff
#fdfeffrgb(253,254,255)
Tones of #040cab
A tone is produced by adding gray to any pure hue. In this case, #55555a is the less saturated color, while #040cab is the most saturated one.
-
#55555a
#55555argb(85,85,90) -
#4e4f61
#4e4f61rgb(78,79,97) -
#474968
#474968rgb(71,73,104) -
#41436e
#41436ergb(65,67,110) -
#3a3d75
#3a3d75rgb(58,61,117) -
#33377c
#33377crgb(51,55,124) -
#2c3183
#2c3183rgb(44,49,131) -
#262a89
#262a89rgb(38,42,137) -
#1f2490
#1f2490rgb(31,36,144) -
#181e97
#181e97rgb(24,30,151) -
#11189e
#11189ergb(17,24,158) -
#0b12a4
#0b12a4rgb(11,18,164) -
#040cab
#040cabrgb(4,12,171)
Color Blindness Simulator
Below, you can see how #040cab 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.
