#040cac Color Information
In a RGB color space, hex #040cac is composed of 1.6% red, 4.7% green and 67.5% blue. Whereas in a CMYK color space, it is composed of 97.7% cyan, 93% magenta, 0% yellow and 32.5% black. It has a hue angle of 237.1 degrees, a saturation of 95.5% and a lightness of 34.5%. #040cac color hex could be obtained by blending #0818ff with #000059. Closest websafe color is: #000099.
-
- R 2
- G 5
- B 67
-
- C 98
- M 93
- Y 0
- K 33
● #040cac color description : Dark blue.
#040cac Color Conversion
The hexadecimal color #040cac has RGB values of R:4, G:12, B:172 and CMYK values of C:0.98, M:0.93, Y:0, K:0.33. Its decimal value is 265388.
| Hex triplet | 040cac | #040cac |
|---|---|---|
| RGB Decimal | 4, 12, 172 | rgb(4,12,172) |
| RGB Percent | 1.6, 4.7, 67.5 | rgb(1.6%,4.7%,67.5%) |
| CMYK | 98, 93, 0, 33 | |
| HSL | 237.1°, 95.5, 34.5 | hsl(237.1,95.5%,34.5%) |
| HSV (or HSB) | 237.1°, 97.7, 67.5 | |
| Web Safe | 000099 | #000099 |
| CIE-LAB | 21.082, 55.822, -78.412 |
|---|---|
| XYZ | 7.626, 3.267, 39.256 |
| xyY | 0.152, 0.065, 3.267 |
| CIE-LCH | 21.082, 96.252, 305.447 |
| CIE-LUV | 21.082, -6.281, -82.151 |
| Hunter-Lab | 18.074, 43.69, -116.123 |
| Binary | 00000100, 00001100, 10101100 |
Color Schemes with #040cac
Alternatives to #040cac
Below, you can see some colors close to #040cac. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040cac Preview
This text has a font color of #040cac.
<span style="color:#040cac;">Text here</span>
This paragraph has a background color of #040cac.
<p style="background-color:#040cac;">Content here</p>
This element has a border color of #040cac.
<div style="border:1px solid #040cac;">Content here</div>
.text {color:#040cac;}
.background {background-color:#040cac;}
.border {border:1px solid #040cac;}
Shades and Tints of #040cac
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, #000113 is the darkest color, while #fefeff is the lightest one.
-
#000113
#000113rgb(0,1,19) -
#010326
#010326rgb(1,3,38) -
#010439
#010439rgb(1,4,57) -
#02054c
#02054crgb(2,5,76) -
#02075f
#02075frgb(2,7,95) -
#030872
#030872rgb(3,8,114) -
#030986
#030986rgb(3,9,134) -
#040b99
#040b99rgb(4,11,153) -
#040cac
#040cacrgb(4,12,172) -
#040dbf
#040dbfrgb(4,13,191) -
#050fd2
#050fd2rgb(5,15,210) -
#0510e6
#0510e6rgb(5,16,230) -
#0611f9
#0611f9rgb(6,17,249)
-
#1823fa
#1823fargb(24,35,250) -
#2c35fa
#2c35fargb(44,53,250) -
#3f48fb
#3f48fbrgb(63,72,251) -
#525afb
#525afbrgb(82,90,251) -
#656cfb
#656cfbrgb(101,108,251) -
#787ffc
#787ffcrgb(120,127,252) -
#8b91fc
#8b91fcrgb(139,145,252) -
#9fa3fd
#9fa3fdrgb(159,163,253) -
#b2b5fd
#b2b5fdrgb(178,181,253) -
#c5c8fe
#c5c8fergb(197,200,254) -
#d8dafe
#d8dafergb(216,218,254) -
#ebecff
#ebecffrgb(235,236,255) -
#fefeff
#fefeffrgb(254,254,255)
Tones of #040cac
A tone is produced by adding gray to any pure hue. In this case, #55555b is the less saturated color, while #040cac is the most saturated one.
-
#55555b
#55555brgb(85,85,91) -
#4e4f62
#4e4f62rgb(78,79,98) -
#484968
#484968rgb(72,73,104) -
#41436f
#41436frgb(65,67,111) -
#3a3d76
#3a3d76rgb(58,61,118) -
#33377d
#33377drgb(51,55,125) -
#2d3183
#2d3183rgb(45,49,131) -
#262b8a
#262b8argb(38,43,138) -
#1f2491
#1f2491rgb(31,36,145) -
#181e98
#181e98rgb(24,30,152) -
#12189e
#12189ergb(18,24,158) -
#0b12a5
#0b12a5rgb(11,18,165) -
#040cac
#040cacrgb(4,12,172)
Color Blindness Simulator
Below, you can see how #040cac 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.
