Shades of Midnight Blue #152887
Tints of Midnight Blue #152887
RGB
CMYK
RGB Variations
Color information
#152887 (or 0x152887) is known color: Midnight Blue. HEX triplet: 15, 28 and 87. RGB value is (21,40,135). Sum of RGB (Red+Green+Blue) = 21+40+135=196 (25% of max value = 765). Red value is 21 (8.59% from 255 or 10.71% from 196); Green value is 40 (16.02% from 255 or 20.41% from 196); Blue value is 135 (53.12% from 255 or 68.88% from 196); Max value from RGB is 135 - color contains mainly: blue. Hex color #152887 is not a web safe color. Web safe color analog (approx): #003399. Inversed color of #152887 is #EAD778. Grayscale: #2C2C2C. Windows color (decimal): -15390585 or 8857621. OLE color: 8857621.
HSL color Cylindrical-coordinate representation of color #152887: hue angle of 230º degrees, saturation: 0.73, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.53% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #152887 is Cyan = 0.84, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.47.
Color convert
| RGB | 21 | 40 | 135 | - |
| CMYK | 0.84 | 0.70 | 0 | 0.47 |
| HSL | 230º | 0.73% | 0.31% | - |
| HSV(B) | 230º | 0.84% | 0.53% | - |
| XYZ | 5.44 | 3.43 | 23.3 | - |
| YUV | 45.15 | 178.71 | 110.78 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 40 | 135 | 0.84 | 0.70 | 0 | 0.47 | 230 | 0.73 | 0.31 |
| Hex | 15 | 28 | 87 | 54 | 46 | 0 | 2F | E6 | 49 | 1F |
| Octal | 25 | 50 | 207 | 124 | 106 | 0 | 57 | 346 | 111 | 37 |
| Binary | 10101 | 101000 | 10000111 | 1010100 | 1000110 | 0 | 101111 | 11100110 | 1001001 | 11111 |
Color Harmonies of #152887
Complementary color
Monochromatic Colors of #152887
Black with #152887
Text Example
Text Example
White with #152887
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152887; }
p { color: rgb(21,40,135); }
H1.HeaderClassName
{
color: #152887;
}
.AnyTagClassName
{
color: #152887;
}
</style>
background-color css
<style>
a { background-color: #152887; }
a { background-color: rgb(21,40,135); }
div.DivClassName
{
background-color: #152887;
}
.BgClassName
{
background-color: #152887;
}
</style>
border-color css
<style>
span { border-color: #152887; }
span { border-color: rgb(21,40,135); }
td.TdClassName
{
border-color: #152887;
}
.TagClassName
{
border-color: #152887;
}
</style>