Shades of Midnight Blue #02054D
Tints of Midnight Blue #02054D
RGB
CMYK
RGB Variations
Color information
#02054D (or 0x02054D) is known color: Midnight Blue. HEX triplet: 02, 05 and 4D. RGB value is (2,5,77). Sum of RGB (Red+Green+Blue) = 2+5+77=84 (11% of max value = 765). Red value is 2 (1.17% from 255 or 2.38% from 84); Green value is 5 (2.34% from 255 or 5.95% from 84); Blue value is 77 (30.47% from 255 or 91.67% from 84); Max value from RGB is 77 - color contains mainly: blue. Hex color #02054D is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #02054D is #FDFAB2. Grayscale: #0C0C0C. Windows color (decimal): -16644787 or 5047554. OLE color: 5047554.
HSL color Cylindrical-coordinate representation of color #02054D: hue angle of 237.6º degrees, saturation: 0.95, lightness: 0.15%. HSV value (or HSB Brightness) of color is 0.3% and HSV saturation: 0.97%. Process color model (Four color, CMYK) of #02054D is Cyan = 0.97, Magento = 0.94, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 2 | 5 | 77 | - |
| CMYK | 0.97 | 0.94 | 0 | 0.70 |
| HSL | 237.6º | 0.95% | 0.15% | - |
| HSV(B) | 237.6º | 0.97% | 0.3% | - |
| XYZ | 1.42 | 0.66 | 7.07 | - |
| YUV | 12.31 | 164.51 | 120.65 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 2 | 5 | 77 | 0.97 | 0.94 | 0 | 0.70 | 237.6 | 0.95 | 0.15 |
| Hex | 2 | 5 | 4D | 61 | 5E | 0 | 46 | EE | 5F | F |
| Octal | 2 | 5 | 115 | 141 | 136 | 0 | 106 | 356 | 137 | 17 |
| Binary | 10 | 101 | 1001101 | 1100001 | 1011110 | 0 | 1000110 | 11101110 | 1011111 | 1111 |
Color Harmonies of #02054D
Complementary color
Monochromatic Colors of #02054D
Black with #02054D
Text Example
Text Example
White with #02054D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #02054D; }
p { color: rgb(2,5,77); }
H1.HeaderClassName
{
color: #02054D;
}
.AnyTagClassName
{
color: #02054D;
}
</style>
background-color css
<style>
a { background-color: #02054D; }
a { background-color: rgb(2,5,77); }
div.DivClassName
{
background-color: #02054D;
}
.BgClassName
{
background-color: #02054D;
}
</style>
border-color css
<style>
span { border-color: #02054D; }
span { border-color: rgb(2,5,77); }
td.TdClassName
{
border-color: #02054D;
}
.TagClassName
{
border-color: #02054D;
}
</style>