#040c8f Color Information
In a RGB color space, hex #040c8f is composed of 1.6% red, 4.7% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 97.2% cyan, 91.6% magenta, 0% yellow and 43.9% black. It has a hue angle of 236.5 degrees, a saturation of 94.6% and a lightness of 28.8%. #040c8f color hex could be obtained by blending #0818ff with #00001f. Closest websafe color is: #000099.
-
- R 2
- G 5
- B 56
-
- C 97
- M 92
- Y 0
- K 44
● #040c8f color description : Dark blue.
#040c8f Color Conversion
The hexadecimal color #040c8f has RGB values of R:4, G:12, B:143 and CMYK values of C:0.97, M:0.92, Y:0, K:0.44. Its decimal value is 265359.
| Hex triplet | 040c8f | #040c8f |
|---|---|---|
| RGB Decimal | 4, 12, 143 | rgb(4,12,143) |
| RGB Percent | 1.6, 4.7, 56.1 | rgb(1.6%,4.7%,56.1%) |
| CMYK | 97, 92, 0, 44 | |
| HSL | 236.5°, 94.6, 28.8 | hsl(236.5,94.6%,28.8%) |
| HSV (or HSB) | 236.5°, 97.2, 56.1 | |
| Web Safe | 000099 | #000099 |
| CIE-LAB | 16.852, 47.457, -67.681 |
|---|---|
| XYZ | 5.138, 2.272, 26.153 |
| xyY | 0.153, 0.068, 2.272 |
| CIE-LCH | 16.852, 82.661, 305.038 |
| CIE-LUV | 16.852, -5.075, -64.54 |
| Hunter-Lab | 15.072, 34.482, -92.332 |
| Binary | 00000100, 00001100, 10001111 |
Color Schemes with #040c8f
Alternatives to #040c8f
Below, you can see some colors close to #040c8f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040c8f Preview
This text has a font color of #040c8f.
<span style="color:#040c8f;">Text here</span>
This paragraph has a background color of #040c8f.
<p style="background-color:#040c8f;">Content here</p>
This element has a border color of #040c8f.
<div style="border:1px solid #040c8f;">Content here</div>
.text {color:#040c8f;}
.background {background-color:#040c8f;}
.border {border:1px solid #040c8f;}
Shades and Tints of #040c8f
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, #000109 is the darkest color, while #f5f6ff is the lightest one.
-
#000109
#000109rgb(0,1,9) -
#01021d
#01021drgb(1,2,29) -
#010430
#010430rgb(1,4,48) -
#020643
#020643rgb(2,6,67) -
#020756
#020756rgb(2,7,86) -
#030969
#030969rgb(3,9,105) -
#030a7c
#030a7crgb(3,10,124) -
#040c8f
#040c8frgb(4,12,143) -
#050ea2
#050ea2rgb(5,14,162) -
#050fb5
#050fb5rgb(5,15,181) -
#0611c8
#0611c8rgb(6,17,200) -
#0612db
#0612dbrgb(6,18,219) -
#0714ee
#0714eergb(7,20,238)
-
#101ef8
#101ef8rgb(16,30,248) -
#2330f9
#2330f9rgb(35,48,249) -
#3742f9
#3742f9rgb(55,66,249) -
#4a54fa
#4a54fargb(74,84,250) -
#5d66fa
#5d66fargb(93,102,250) -
#7078fb
#7078fbrgb(112,120,251) -
#838afc
#838afcrgb(131,138,252) -
#969cfc
#969cfcrgb(150,156,252) -
#a9aefd
#a9aefdrgb(169,174,253) -
#bcc0fd
#bcc0fdrgb(188,192,253) -
#cfd2fe
#cfd2fergb(207,210,254) -
#e2e4fe
#e2e4fergb(226,228,254) -
#f5f6ff
#f5f6ffrgb(245,246,255)
Tones of #040c8f
A tone is produced by adding gray to any pure hue. In this case, #48484b is the less saturated color, while #040c8f is the most saturated one.
-
#48484b
#48484brgb(72,72,75) -
#424351
#424351rgb(66,67,81) -
#3d3e56
#3d3e56rgb(61,62,86) -
#37395c
#37395crgb(55,57,92) -
#313462
#313462rgb(49,52,98) -
#2c2f67
#2c2f67rgb(44,47,103) -
#262a6d
#262a6drgb(38,42,109) -
#202573
#202573rgb(32,37,115) -
#1b2078
#1b2078rgb(27,32,120) -
#151b7e
#151b7ergb(21,27,126) -
#0f1684
#0f1684rgb(15,22,132) -
#0a1189
#0a1189rgb(10,17,137) -
#040c8f
#040c8frgb(4,12,143)
Color Blindness Simulator
Below, you can see how #040c8f 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.
