Shades of Midnight Blue #040251
Tints of Midnight Blue #040251
RGB
CMYK
RGB Variations
Color information
#040251 (or 0x040251) is known color: Midnight Blue. HEX triplet: 04, 02 and 51. RGB value is (4,2,81). Sum of RGB (Red+Green+Blue) = 4+2+81=87 (11% of max value = 765). Red value is 4 (1.95% from 255 or 4.60% from 87); Green value is 2 (1.17% from 255 or 2.30% from 87); Blue value is 81 (32.03% from 255 or 93.10% from 87); Max value from RGB is 81 - color contains mainly: blue. Hex color #040251 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #040251 is #FBFDAE. Grayscale: #0B0B0B. Windows color (decimal): -16514479 or 5308932. OLE color: 5308932.
HSL color Cylindrical-coordinate representation of color #040251: hue angle of 241.52º degrees, saturation: 0.95, lightness: 0.16%. HSV value (or HSB Brightness) of color is 0.32% and HSV saturation: 0.98%. Process color model (Four color, CMYK) of #040251 is Cyan = 0.95, Magento = 0.98, Yellow = 0 and Black (K on CMYK) = 0.68.
Color convert
| RGB | 4 | 2 | 81 | - |
| CMYK | 0.95 | 0.98 | 0 | 0.68 |
| HSL | 241.52º | 0.95% | 0.16% | - |
| HSV(B) | 241.52º | 0.98% | 0.32% | - |
| XYZ | 1.56 | 0.66 | 7.83 | - |
| YUV | 11.6 | 167.16 | 122.58 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 2 | 81 | 0.95 | 0.98 | 0 | 0.68 | 241.52 | 0.95 | 0.16 |
| Hex | 4 | 2 | 51 | 5F | 62 | 0 | 44 | F2 | 5F | 10 |
| Octal | 4 | 2 | 121 | 137 | 142 | 0 | 104 | 362 | 137 | 20 |
| Binary | 100 | 10 | 1010001 | 1011111 | 1100010 | 0 | 1000100 | 11110010 | 1011111 | 10000 |
Color Harmonies of #040251
Complementary color
Monochromatic Colors of #040251
Black with #040251
Text Example
Text Example
White with #040251
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040251; }
p { color: rgb(4,2,81); }
H1.HeaderClassName
{
color: #040251;
}
.AnyTagClassName
{
color: #040251;
}
</style>
background-color css
<style>
a { background-color: #040251; }
a { background-color: rgb(4,2,81); }
div.DivClassName
{
background-color: #040251;
}
.BgClassName
{
background-color: #040251;
}
</style>
border-color css
<style>
span { border-color: #040251; }
span { border-color: rgb(4,2,81); }
td.TdClassName
{
border-color: #040251;
}
.TagClassName
{
border-color: #040251;
}
</style>