Shades of Midnight Blue #040856
Tints of Midnight Blue #040856
RGB
CMYK
RGB Variations
Color information
#040856 (or 0x040856) is known color: Midnight Blue. HEX triplet: 04, 08 and 56. RGB value is (4,8,86). Sum of RGB (Red+Green+Blue) = 4+8+86=98 (12% of max value = 765). Red value is 4 (1.95% from 255 or 4.08% from 98); Green value is 8 (3.52% from 255 or 8.16% from 98); Blue value is 86 (33.98% from 255 or 87.76% from 98); Max value from RGB is 86 - color contains mainly: blue. Hex color #040856 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040856 is #FBF7A9. Grayscale: #0F0F0F. Windows color (decimal): -16512938 or 5638148. OLE color: 5638148.
HSL color Cylindrical-coordinate representation of color #040856: hue angle of 237.07º degrees, saturation: 0.91, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.34% and HSV saturation: 0.95%. Process color model (Four color, CMYK) of #040856 is Cyan = 0.95, Magento = 0.91, Yellow = 0 and Black (K on CMYK) = 0.66.
Color convert
| RGB | 4 | 8 | 86 | - |
| CMYK | 0.95 | 0.91 | 0 | 0.66 |
| HSL | 237.07º | 0.91% | 0.18% | - |
| HSV(B) | 237.07º | 0.95% | 0.34% | - |
| XYZ | 1.82 | 0.87 | 8.88 | - |
| YUV | 15.7 | 167.67 | 119.66 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 8 | 86 | 0.95 | 0.91 | 0 | 0.66 | 237.07 | 0.91 | 0.18 |
| Hex | 4 | 8 | 56 | 5F | 5B | 0 | 42 | ED | 5B | 12 |
| Octal | 4 | 10 | 126 | 137 | 133 | 0 | 102 | 355 | 133 | 22 |
| Binary | 100 | 1000 | 1010110 | 1011111 | 1011011 | 0 | 1000010 | 11101101 | 1011011 | 10010 |
Color Harmonies of #040856
Complementary color
Monochromatic Colors of #040856
Black with #040856
Text Example
Text Example
White with #040856
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040856; }
p { color: rgb(4,8,86); }
H1.HeaderClassName
{
color: #040856;
}
.AnyTagClassName
{
color: #040856;
}
</style>
background-color css
<style>
a { background-color: #040856; }
a { background-color: rgb(4,8,86); }
div.DivClassName
{
background-color: #040856;
}
.BgClassName
{
background-color: #040856;
}
</style>
border-color css
<style>
span { border-color: #040856; }
span { border-color: rgb(4,8,86); }
td.TdClassName
{
border-color: #040856;
}
.TagClassName
{
border-color: #040856;
}
</style>