Shades of Midnight Blue #152174
Tints of Midnight Blue #152174
RGB
CMYK
RGB Variations
Color information
#152174 (or 0x152174) is known color: Midnight Blue. HEX triplet: 15, 21 and 74. RGB value is (21,33,116). Sum of RGB (Red+Green+Blue) = 21+33+116=170 (22% of max value = 765). Red value is 21 (8.59% from 255 or 12.35% from 170); Green value is 33 (13.28% from 255 or 19.41% from 170); Blue value is 116 (45.70% from 255 or 68.24% from 170); Max value from RGB is 116 - color contains mainly: blue. Hex color #152174 is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #152174 is #EADE8B. Grayscale: #262626. Windows color (decimal): -15392396 or 7610645. OLE color: 7610645.
HSL color Cylindrical-coordinate representation of color #152174: hue angle of 232.42º degrees, saturation: 0.69, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.82%. Process color model (Four color, CMYK) of #152174 is Cyan = 0.82, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 21 | 33 | 116 | - |
| CMYK | 0.82 | 0.72 | 0 | 0.55 |
| HSL | 232.42º | 0.69% | 0.27% | - |
| HSV(B) | 232.42º | 0.82% | 0.45% | - |
| XYZ | 4.01 | 2.51 | 16.8 | - |
| YUV | 38.87 | 171.52 | 115.25 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 33 | 116 | 0.82 | 0.72 | 0 | 0.55 | 232.42 | 0.69 | 0.27 |
| Hex | 15 | 21 | 74 | 52 | 48 | 0 | 37 | E8 | 45 | 1B |
| Octal | 25 | 41 | 164 | 122 | 110 | 0 | 67 | 350 | 105 | 33 |
| Binary | 10101 | 100001 | 1110100 | 1010010 | 1001000 | 0 | 110111 | 11101000 | 1000101 | 11011 |
Color Harmonies of #152174
Complementary color
Monochromatic Colors of #152174
Black with #152174
Text Example
Text Example
White with #152174
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152174; }
p { color: rgb(21,33,116); }
H1.HeaderClassName
{
color: #152174;
}
.AnyTagClassName
{
color: #152174;
}
</style>
background-color css
<style>
a { background-color: #152174; }
a { background-color: rgb(21,33,116); }
div.DivClassName
{
background-color: #152174;
}
.BgClassName
{
background-color: #152174;
}
</style>
border-color css
<style>
span { border-color: #152174; }
span { border-color: rgb(21,33,116); }
td.TdClassName
{
border-color: #152174;
}
.TagClassName
{
border-color: #152174;
}
</style>