Shades of New Midnight Blue #040CA4
Tints of New Midnight Blue #040CA4
RGB
CMYK
RGB Variations
Color information
#040CA4 (or 0x040CA4) is known color: New Midnight Blue. HEX triplet: 04, 0C and A4. RGB value is (4,12,164). Sum of RGB (Red+Green+Blue) = 4+12+164=180 (23% of max value = 765). Red value is 4 (1.95% from 255 or 2.22% from 180); Green value is 12 (5.08% from 255 or 6.67% from 180); Blue value is 164 (64.45% from 255 or 91.11% from 180); Max value from RGB is 164 - color contains mainly: blue. Hex color #040CA4 is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040CA4 is #FBF35B. Grayscale: #1A1A1A. Windows color (decimal): -16511836 or 10750980. OLE color: 10750980.
HSL color Cylindrical-coordinate representation of color #040CA4: hue angle of 237º degrees, saturation: 0.95, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.64% and HSV saturation: 0.98%. Process color model (Four color, CMYK) of #040CA4 is Cyan = 0.98, Magento = 0.93, Yellow = 0 and Black (K on CMYK) = 0.36.
Color convert
| RGB | 4 | 12 | 164 | - |
| CMYK | 0.98 | 0.93 | 0 | 0.36 |
| HSL | 237º | 0.95% | 0.33% | - |
| HSV(B) | 237º | 0.98% | 0.64% | - |
| XYZ | 6.88 | 2.97 | 35.33 | - |
| YUV | 26.94 | 205.35 | 111.64 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 12 | 164 | 0.98 | 0.93 | 0 | 0.36 | 237 | 0.95 | 0.33 |
| Hex | 4 | C | A4 | 62 | 5D | 0 | 24 | ED | 5F | 21 |
| Octal | 4 | 14 | 244 | 142 | 135 | 0 | 44 | 355 | 137 | 41 |
| Binary | 100 | 1100 | 10100100 | 1100010 | 1011101 | 0 | 100100 | 11101101 | 1011111 | 100001 |
Color Harmonies of #040CA4
Complementary color
Monochromatic Colors of #040CA4
Black with #040CA4
Text Example
Text Example
White with #040CA4
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040CA4; }
p { color: rgb(4,12,164); }
H1.HeaderClassName
{
color: #040CA4;
}
.AnyTagClassName
{
color: #040CA4;
}
</style>
background-color css
<style>
a { background-color: #040CA4; }
a { background-color: rgb(4,12,164); }
div.DivClassName
{
background-color: #040CA4;
}
.BgClassName
{
background-color: #040CA4;
}
</style>
border-color css
<style>
span { border-color: #040CA4; }
span { border-color: rgb(4,12,164); }
td.TdClassName
{
border-color: #040CA4;
}
.TagClassName
{
border-color: #040CA4;
}
</style>