Shades of Midnight Blue #152B81
Tints of Midnight Blue #152B81
RGB
CMYK
RGB Variations
Color information
#152B81 (or 0x152B81) is known color: Midnight Blue. HEX triplet: 15, 2B and 81. RGB value is (21,43,129). Sum of RGB (Red+Green+Blue) = 21+43+129=193 (25% of max value = 765). Red value is 21 (8.59% from 255 or 10.88% from 193); Green value is 43 (17.19% from 255 or 22.28% from 193); Blue value is 129 (50.78% from 255 or 66.84% from 193); Max value from RGB is 129 - color contains mainly: blue. Hex color #152B81 is not a web safe color. Web safe color analog (approx): #003399. Inversed color of #152B81 is #EAD47E. Grayscale: #2D2D2D. Windows color (decimal): -15389823 or 8465173. OLE color: 8465173.
HSL color Cylindrical-coordinate representation of color #152B81: hue angle of 227.78º degrees, saturation: 0.72, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.51% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #152B81 is Cyan = 0.84, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 21 | 43 | 129 | - |
| CMYK | 0.84 | 0.67 | 0 | 0.49 |
| HSL | 227.78º | 0.72% | 0.29% | - |
| HSV(B) | 227.78º | 0.84% | 0.51% | - |
| XYZ | 5.14 | 3.47 | 21.17 | - |
| YUV | 46.23 | 174.71 | 110.01 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 43 | 129 | 0.84 | 0.67 | 0 | 0.49 | 227.78 | 0.72 | 0.29 |
| Hex | 15 | 2B | 81 | 54 | 43 | 0 | 31 | E4 | 48 | 1D |
| Octal | 25 | 53 | 201 | 124 | 103 | 0 | 61 | 344 | 110 | 35 |
| Binary | 10101 | 101011 | 10000001 | 1010100 | 1000011 | 0 | 110001 | 11100100 | 1001000 | 11101 |
Color Harmonies of #152B81
Complementary color
Monochromatic Colors of #152B81
Black with #152B81
Text Example
Text Example
White with #152B81
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152B81; }
p { color: rgb(21,43,129); }
H1.HeaderClassName
{
color: #152B81;
}
.AnyTagClassName
{
color: #152B81;
}
</style>
background-color css
<style>
a { background-color: #152B81; }
a { background-color: rgb(21,43,129); }
div.DivClassName
{
background-color: #152B81;
}
.BgClassName
{
background-color: #152B81;
}
</style>
border-color css
<style>
span { border-color: #152B81; }
span { border-color: rgb(21,43,129); }
td.TdClassName
{
border-color: #152B81;
}
.TagClassName
{
border-color: #152B81;
}
</style>