Shades of New Midnight Blue #040CA1
Tints of New Midnight Blue #040CA1
RGB
CMYK
RGB Variations
Color information
#040CA1 (or 0x040CA1) is known color: New Midnight Blue. HEX triplet: 04, 0C and A1. RGB value is (4,12,161). Sum of RGB (Red+Green+Blue) = 4+12+161=177 (23% of max value = 765). Red value is 4 (1.95% from 255 or 2.26% from 177); Green value is 12 (5.08% from 255 or 6.78% from 177); Blue value is 161 (63.28% from 255 or 90.96% from 177); Max value from RGB is 161 - color contains mainly: blue. Hex color #040CA1 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040CA1 is #FBF35E. Grayscale: #191919. Windows color (decimal): -16511839 or 10554372. OLE color: 10554372.
HSL color Cylindrical-coordinate representation of color #040CA1: hue angle of 236.94º degrees, saturation: 0.95, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.63% and HSV saturation: 0.98%. Process color model (Four color, CMYK) of #040CA1 is Cyan = 0.98, Magento = 0.93, Yellow = 0 and Black (K on CMYK) = 0.37.
Color convert
| RGB | 4 | 12 | 161 | - |
| CMYK | 0.98 | 0.93 | 0 | 0.37 |
| HSL | 236.94º | 0.95% | 0.32% | - |
| HSV(B) | 236.94º | 0.98% | 0.63% | - |
| XYZ | 6.61 | 2.86 | 33.92 | - |
| YUV | 26.59 | 203.85 | 111.88 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 12 | 161 | 0.98 | 0.93 | 0 | 0.37 | 236.94 | 0.95 | 0.32 |
| Hex | 4 | C | A1 | 62 | 5D | 0 | 25 | ED | 5F | 20 |
| Octal | 4 | 14 | 241 | 142 | 135 | 0 | 45 | 355 | 137 | 40 |
| Binary | 100 | 1100 | 10100001 | 1100010 | 1011101 | 0 | 100101 | 11101101 | 1011111 | 100000 |
Color Harmonies of #040CA1
Complementary color
Monochromatic Colors of #040CA1
Black with #040CA1
Text Example
Text Example
White with #040CA1
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040CA1; }
p { color: rgb(4,12,161); }
H1.HeaderClassName
{
color: #040CA1;
}
.AnyTagClassName
{
color: #040CA1;
}
</style>
background-color css
<style>
a { background-color: #040CA1; }
a { background-color: rgb(4,12,161); }
div.DivClassName
{
background-color: #040CA1;
}
.BgClassName
{
background-color: #040CA1;
}
</style>
border-color css
<style>
span { border-color: #040CA1; }
span { border-color: rgb(4,12,161); }
td.TdClassName
{
border-color: #040CA1;
}
.TagClassName
{
border-color: #040CA1;
}
</style>