Shades of Midnight Blue #152A84
Tints of Midnight Blue #152A84
RGB
CMYK
RGB Variations
Color information
#152A84 (or 0x152A84) is known color: Midnight Blue. HEX triplet: 15, 2A and 84. RGB value is (21,42,132). Sum of RGB (Red+Green+Blue) = 21+42+132=195 (25% of max value = 765). Red value is 21 (8.59% from 255 or 10.77% from 195); Green value is 42 (16.80% from 255 or 21.54% from 195); Blue value is 132 (51.95% from 255 or 67.69% from 195); Max value from RGB is 132 - color contains mainly: blue. Hex color #152A84 is not a web safe color. Web safe color analog (approx): #003399. Inversed color of #152A84 is #EAD57B. Grayscale: #2D2D2D. Windows color (decimal): -15390076 or 8661525. OLE color: 8661525.
HSL color Cylindrical-coordinate representation of color #152A84: hue angle of 228.65º degrees, saturation: 0.73, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.52% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #152A84 is Cyan = 0.84, Magento = 0.68, Yellow = 0 and Black (K on CMYK) = 0.48.
Color convert
| RGB | 21 | 42 | 132 | - |
| CMYK | 0.84 | 0.68 | 0 | 0.48 |
| HSL | 228.65º | 0.73% | 0.3% | - |
| HSV(B) | 228.65º | 0.84% | 0.52% | - |
| XYZ | 5.3 | 3.48 | 22.22 | - |
| YUV | 45.98 | 176.54 | 110.18 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 42 | 132 | 0.84 | 0.68 | 0 | 0.48 | 228.65 | 0.73 | 0.3 |
| Hex | 15 | 2A | 84 | 54 | 44 | 0 | 30 | E5 | 49 | 1E |
| Octal | 25 | 52 | 204 | 124 | 104 | 0 | 60 | 345 | 111 | 36 |
| Binary | 10101 | 101010 | 10000100 | 1010100 | 1000100 | 0 | 110000 | 11100101 | 1001001 | 11110 |
Color Harmonies of #152A84
Complementary color
Monochromatic Colors of #152A84
Black with #152A84
Text Example
Text Example
White with #152A84
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152A84; }
p { color: rgb(21,42,132); }
H1.HeaderClassName
{
color: #152A84;
}
.AnyTagClassName
{
color: #152A84;
}
</style>
background-color css
<style>
a { background-color: #152A84; }
a { background-color: rgb(21,42,132); }
div.DivClassName
{
background-color: #152A84;
}
.BgClassName
{
background-color: #152A84;
}
</style>
border-color css
<style>
span { border-color: #152A84; }
span { border-color: rgb(21,42,132); }
td.TdClassName
{
border-color: #152A84;
}
.TagClassName
{
border-color: #152A84;
}
</style>