Shades of New Midnight Blue #0402AB
Tints of New Midnight Blue #0402AB
RGB
CMYK
RGB Variations
Color information
#0402AB (or 0x0402AB) is known color: New Midnight Blue. HEX triplet: 04, 02 and AB. RGB value is (4,2,171). Sum of RGB (Red+Green+Blue) = 4+2+171=177 (23% of max value = 765). Red value is 4 (1.95% from 255 or 2.26% from 177); Green value is 2 (1.17% from 255 or 1.13% from 177); Blue value is 171 (67.19% from 255 or 96.61% from 177); Max value from RGB is 171 - color contains mainly: blue. Hex color #0402AB is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #0402AB is #FBFD54. Grayscale: #151515. Windows color (decimal): -16514389 or 11207172. OLE color: 11207172.
HSL color Cylindrical-coordinate representation of color #0402AB: hue angle of 240.71º degrees, saturation: 0.98, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.67% and HSV saturation: 0.99%. Process color model (Four color, CMYK) of #0402AB is Cyan = 0.98, Magento = 0.99, Yellow = 0 and Black (K on CMYK) = 0.33.
Color convert
| RGB | 4 | 2 | 171 | - |
| CMYK | 0.98 | 0.99 | 0 | 0.33 |
| HSL | 240.71º | 0.98% | 0.34% | - |
| HSV(B) | 240.71º | 0.99% | 0.67% | - |
| XYZ | 7.42 | 3.01 | 38.72 | - |
| YUV | 21.86 | 212.16 | 115.26 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 2 | 171 | 0.98 | 0.99 | 0 | 0.33 | 240.71 | 0.98 | 0.34 |
| Hex | 4 | 2 | AB | 62 | 63 | 0 | 21 | F1 | 62 | 22 |
| Octal | 4 | 2 | 253 | 142 | 143 | 0 | 41 | 361 | 142 | 42 |
| Binary | 100 | 10 | 10101011 | 1100010 | 1100011 | 0 | 100001 | 11110001 | 1100010 | 100010 |
Color Harmonies of #0402AB
Complementary color
Monochromatic Colors of #0402AB
Black with #0402AB
Text Example
Text Example
White with #0402AB
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0402AB; }
p { color: rgb(4,2,171); }
H1.HeaderClassName
{
color: #0402AB;
}
.AnyTagClassName
{
color: #0402AB;
}
</style>
background-color css
<style>
a { background-color: #0402AB; }
a { background-color: rgb(4,2,171); }
div.DivClassName
{
background-color: #0402AB;
}
.BgClassName
{
background-color: #0402AB;
}
</style>
border-color css
<style>
span { border-color: #0402AB; }
span { border-color: rgb(4,2,171); }
td.TdClassName
{
border-color: #0402AB;
}
.TagClassName
{
border-color: #0402AB;
}
</style>