Shades of New Midnight Blue #040598
Tints of New Midnight Blue #040598
RGB
CMYK
RGB Variations
Color information
#040598 (or 0x040598) is known color: New Midnight Blue. HEX triplet: 04, 05 and 98. RGB value is (4,5,152). Sum of RGB (Red+Green+Blue) = 4+5+152=161 (21% of max value = 765). Red value is 4 (1.95% from 255 or 2.48% from 161); Green value is 5 (2.34% from 255 or 3.11% from 161); Blue value is 152 (59.77% from 255 or 94.41% from 161); Max value from RGB is 152 - color contains mainly: blue. Hex color #040598 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040598 is #FBFA67. Grayscale: #141414. Windows color (decimal): -16513640 or 9962756. OLE color: 9962756.
HSL color Cylindrical-coordinate representation of color #040598: hue angle of 239.59º degrees, saturation: 0.95, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.6% and HSV saturation: 0.97%. Process color model (Four color, CMYK) of #040598 is Cyan = 0.97, Magento = 0.97, Yellow = 0 and Black (K on CMYK) = 0.40.
Color convert
| RGB | 4 | 5 | 152 | - |
| CMYK | 0.97 | 0.97 | 0 | 0.40 |
| HSL | 239.59º | 0.95% | 0.31% | - |
| HSV(B) | 239.59º | 0.97% | 0.6% | - |
| XYZ | 5.77 | 2.4 | 29.87 | - |
| YUV | 21.46 | 201.67 | 115.55 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 5 | 152 | 0.97 | 0.97 | 0 | 0.40 | 239.59 | 0.95 | 0.31 |
| Hex | 4 | 5 | 98 | 61 | 61 | 0 | 28 | F0 | 5F | 1F |
| Octal | 4 | 5 | 230 | 141 | 141 | 0 | 50 | 360 | 137 | 37 |
| Binary | 100 | 101 | 10011000 | 1100001 | 1100001 | 0 | 101000 | 11110000 | 1011111 | 11111 |
Color Harmonies of #040598
Complementary color
Monochromatic Colors of #040598
Black with #040598
Text Example
Text Example
White with #040598
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040598; }
p { color: rgb(4,5,152); }
H1.HeaderClassName
{
color: #040598;
}
.AnyTagClassName
{
color: #040598;
}
</style>
background-color css
<style>
a { background-color: #040598; }
a { background-color: rgb(4,5,152); }
div.DivClassName
{
background-color: #040598;
}
.BgClassName
{
background-color: #040598;
}
</style>
border-color css
<style>
span { border-color: #040598; }
span { border-color: rgb(4,5,152); }
td.TdClassName
{
border-color: #040598;
}
.TagClassName
{
border-color: #040598;
}
</style>