Shades of Midnight Blue #152276
Tints of Midnight Blue #152276
RGB
CMYK
RGB Variations
Color information
#152276 (or 0x152276) is known color: Midnight Blue. HEX triplet: 15, 22 and 76. RGB value is (21,34,118). Sum of RGB (Red+Green+Blue) = 21+34+118=173 (22% of max value = 765). Red value is 21 (8.59% from 255 or 12.14% from 173); Green value is 34 (13.67% from 255 or 19.65% from 173); Blue value is 118 (46.48% from 255 or 68.21% from 173); Max value from RGB is 118 - color contains mainly: blue. Hex color #152276 is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #152276 is #EADD89. Grayscale: #272727. Windows color (decimal): -15392138 or 7741973. OLE color: 7741973.
HSL color Cylindrical-coordinate representation of color #152276: hue angle of 231.96º degrees, saturation: 0.7, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.46% and HSV saturation: 0.82%. Process color model (Four color, CMYK) of #152276 is Cyan = 0.82, Magento = 0.71, Yellow = 0 and Black (K on CMYK) = 0.54.
Color convert
| RGB | 21 | 34 | 118 | - |
| CMYK | 0.82 | 0.71 | 0 | 0.54 |
| HSL | 231.96º | 0.7% | 0.27% | - |
| HSV(B) | 231.96º | 0.82% | 0.46% | - |
| XYZ | 4.15 | 2.61 | 17.42 | - |
| YUV | 39.69 | 172.19 | 114.67 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 34 | 118 | 0.82 | 0.71 | 0 | 0.54 | 231.96 | 0.7 | 0.27 |
| Hex | 15 | 22 | 76 | 52 | 47 | 0 | 36 | E8 | 46 | 1B |
| Octal | 25 | 42 | 166 | 122 | 107 | 0 | 66 | 350 | 106 | 33 |
| Binary | 10101 | 100010 | 1110110 | 1010010 | 1000111 | 0 | 110110 | 11101000 | 1000110 | 11011 |
Color Harmonies of #152276
Complementary color
Monochromatic Colors of #152276
Black with #152276
Text Example
Text Example
White with #152276
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152276; }
p { color: rgb(21,34,118); }
H1.HeaderClassName
{
color: #152276;
}
.AnyTagClassName
{
color: #152276;
}
</style>
background-color css
<style>
a { background-color: #152276; }
a { background-color: rgb(21,34,118); }
div.DivClassName
{
background-color: #152276;
}
.BgClassName
{
background-color: #152276;
}
</style>
border-color css
<style>
span { border-color: #152276; }
span { border-color: rgb(21,34,118); }
td.TdClassName
{
border-color: #152276;
}
.TagClassName
{
border-color: #152276;
}
</style>