Shades of New Midnight Blue #040CAB
Tints of New Midnight Blue #040CAB
RGB
CMYK
RGB Variations
Color information
#040CAB (or 0x040CAB) is known color: New Midnight Blue. HEX triplet: 04, 0C and AB. RGB value is (4,12,171). Sum of RGB (Red+Green+Blue) = 4+12+171=187 (24% of max value = 765). Red value is 4 (1.95% from 255 or 2.14% from 187); Green value is 12 (5.08% from 255 or 6.42% from 187); Blue value is 171 (67.19% from 255 or 91.44% from 187); Max value from RGB is 171 - color contains mainly: blue. Hex color #040CAB is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040CAB is #FBF354. Grayscale: #1B1B1B. Windows color (decimal): -16511829 or 11209732. OLE color: 11209732.
HSL color Cylindrical-coordinate representation of color #040CAB: hue angle of 237.13º degrees, saturation: 0.95, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.67% and HSV saturation: 0.98%. Process color model (Four color, CMYK) of #040CAB is Cyan = 0.98, Magento = 0.93, Yellow = 0 and Black (K on CMYK) = 0.33.
Color convert
| RGB | 4 | 12 | 171 | - |
| CMYK | 0.98 | 0.93 | 0 | 0.33 |
| HSL | 237.13º | 0.95% | 0.34% | - |
| HSV(B) | 237.13º | 0.98% | 0.67% | - |
| XYZ | 7.53 | 3.23 | 38.75 | - |
| YUV | 27.73 | 208.85 | 111.07 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 12 | 171 | 0.98 | 0.93 | 0 | 0.33 | 237.13 | 0.95 | 0.34 |
| Hex | 4 | C | AB | 62 | 5D | 0 | 21 | ED | 5F | 22 |
| Octal | 4 | 14 | 253 | 142 | 135 | 0 | 41 | 355 | 137 | 42 |
| Binary | 100 | 1100 | 10101011 | 1100010 | 1011101 | 0 | 100001 | 11101101 | 1011111 | 100010 |
Color Harmonies of #040CAB
Complementary color
Monochromatic Colors of #040CAB
Black with #040CAB
Text Example
Text Example
White with #040CAB
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040CAB; }
p { color: rgb(4,12,171); }
H1.HeaderClassName
{
color: #040CAB;
}
.AnyTagClassName
{
color: #040CAB;
}
</style>
background-color css
<style>
a { background-color: #040CAB; }
a { background-color: rgb(4,12,171); }
div.DivClassName
{
background-color: #040CAB;
}
.BgClassName
{
background-color: #040CAB;
}
</style>
border-color css
<style>
span { border-color: #040CAB; }
span { border-color: rgb(4,12,171); }
td.TdClassName
{
border-color: #040CAB;
}
.TagClassName
{
border-color: #040CAB;
}
</style>