Shades of Midnight Blue #040357
Tints of Midnight Blue #040357
RGB
CMYK
RGB Variations
Color information
#040357 (or 0x040357) is known color: Midnight Blue. HEX triplet: 04, 03 and 57. RGB value is (4,3,87). Sum of RGB (Red+Green+Blue) = 4+3+87=94 (12% of max value = 765). Red value is 4 (1.95% from 255 or 4.26% from 94); Green value is 3 (1.56% from 255 or 3.19% from 94); Blue value is 87 (34.38% from 255 or 92.55% from 94); Max value from RGB is 87 - color contains mainly: blue. Hex color #040357 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040357 is #FBFCA8. Grayscale: #0C0C0C. Windows color (decimal): -16514217 or 5702404. OLE color: 5702404.
HSL color Cylindrical-coordinate representation of color #040357: hue angle of 240.71º degrees, saturation: 0.93, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.34% and HSV saturation: 0.97%. Process color model (Four color, CMYK) of #040357 is Cyan = 0.95, Magento = 0.97, Yellow = 0 and Black (K on CMYK) = 0.66.
Color convert
| RGB | 4 | 3 | 87 | - |
| CMYK | 0.95 | 0.97 | 0 | 0.66 |
| HSL | 240.71º | 0.93% | 0.18% | - |
| HSV(B) | 240.71º | 0.97% | 0.34% | - |
| XYZ | 1.8 | 0.78 | 9.07 | - |
| YUV | 12.88 | 169.83 | 121.67 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 3 | 87 | 0.95 | 0.97 | 0 | 0.66 | 240.71 | 0.93 | 0.18 |
| Hex | 4 | 3 | 57 | 5F | 61 | 0 | 42 | F1 | 5D | 12 |
| Octal | 4 | 3 | 127 | 137 | 141 | 0 | 102 | 361 | 135 | 22 |
| Binary | 100 | 11 | 1010111 | 1011111 | 1100001 | 0 | 1000010 | 11110001 | 1011101 | 10010 |
Color Harmonies of #040357
Complementary color
Monochromatic Colors of #040357
Black with #040357
Text Example
Text Example
White with #040357
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040357; }
p { color: rgb(4,3,87); }
H1.HeaderClassName
{
color: #040357;
}
.AnyTagClassName
{
color: #040357;
}
</style>
background-color css
<style>
a { background-color: #040357; }
a { background-color: rgb(4,3,87); }
div.DivClassName
{
background-color: #040357;
}
.BgClassName
{
background-color: #040357;
}
</style>
border-color css
<style>
span { border-color: #040357; }
span { border-color: rgb(4,3,87); }
td.TdClassName
{
border-color: #040357;
}
.TagClassName
{
border-color: #040357;
}
</style>