Shades of Midnight Blue #040458
Tints of Midnight Blue #040458
RGB
CMYK
RGB Variations
Color information
#040458 (or 0x040458) is known color: Midnight Blue. HEX triplet: 04, 04 and 58. RGB value is (4,4,88). Sum of RGB (Red+Green+Blue) = 4+4+88=96 (12% of max value = 765). Red value is 4 (1.95% from 255 or 4.17% from 96); Green value is 4 (1.95% from 255 or 4.17% from 96); Blue value is 88 (34.77% from 255 or 91.67% from 96); Max value from RGB is 88 - color contains mainly: blue. Hex color #040458 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040458 is #FBFBA7. Grayscale: #0D0D0D. Windows color (decimal): -16513960 or 5768196. OLE color: 5768196.
HSL color Cylindrical-coordinate representation of color #040458: hue angle of 240º degrees, saturation: 0.91, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.35% and HSV saturation: 0.95%. Process color model (Four color, CMYK) of #040458 is Cyan = 0.95, Magento = 0.95, Yellow = 0 and Black (K on CMYK) = 0.65.
Color convert
| RGB | 4 | 4 | 88 | - |
| CMYK | 0.95 | 0.95 | 0 | 0.65 |
| HSL | 240º | 0.91% | 0.18% | - |
| HSV(B) | 240º | 0.95% | 0.35% | - |
| XYZ | 1.85 | 0.82 | 9.29 | - |
| YUV | 13.58 | 170 | 121.17 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 4 | 88 | 0.95 | 0.95 | 0 | 0.65 | 240 | 0.91 | 0.18 |
| Hex | 4 | 4 | 58 | 5F | 5F | 0 | 41 | F0 | 5B | 12 |
| Octal | 4 | 4 | 130 | 137 | 137 | 0 | 101 | 360 | 133 | 22 |
| Binary | 100 | 100 | 1011000 | 1011111 | 1011111 | 0 | 1000001 | 11110000 | 1011011 | 10010 |
Color Harmonies of #040458
Complementary color
Monochromatic Colors of #040458
Black with #040458
Text Example
Text Example
White with #040458
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040458; }
p { color: rgb(4,4,88); }
H1.HeaderClassName
{
color: #040458;
}
.AnyTagClassName
{
color: #040458;
}
</style>
background-color css
<style>
a { background-color: #040458; }
a { background-color: rgb(4,4,88); }
div.DivClassName
{
background-color: #040458;
}
.BgClassName
{
background-color: #040458;
}
</style>
border-color css
<style>
span { border-color: #040458; }
span { border-color: rgb(4,4,88); }
td.TdClassName
{
border-color: #040458;
}
.TagClassName
{
border-color: #040458;
}
</style>