Shades of Midnight Blue #151B72
Tints of Midnight Blue #151B72
RGB
CMYK
RGB Variations
Color information
#151B72 (or 0x151B72) is known color: Midnight Blue. HEX triplet: 15, 1B and 72. RGB value is (21,27,114). Sum of RGB (Red+Green+Blue) = 21+27+114=162 (21% of max value = 765). Red value is 21 (8.59% from 255 or 12.96% from 162); Green value is 27 (10.94% from 255 or 16.67% from 162); Blue value is 114 (44.92% from 255 or 70.37% from 162); Max value from RGB is 114 - color contains mainly: blue. Hex color #151B72 is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #151B72 is #EAE48D. Grayscale: #222222. Windows color (decimal): -15393934 or 7478037. OLE color: 7478037.
HSL color Cylindrical-coordinate representation of color #151B72: hue angle of 236.13º degrees, saturation: 0.69, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.82%. Process color model (Four color, CMYK) of #151B72 is Cyan = 0.82, Magento = 0.76, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 21 | 27 | 114 | - |
| CMYK | 0.82 | 0.76 | 0 | 0.55 |
| HSL | 236.13º | 0.69% | 0.26% | - |
| HSV(B) | 236.13º | 0.82% | 0.45% | - |
| XYZ | 3.74 | 2.16 | 16.14 | - |
| YUV | 35.12 | 172.51 | 117.93 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 27 | 114 | 0.82 | 0.76 | 0 | 0.55 | 236.13 | 0.69 | 0.26 |
| Hex | 15 | 1B | 72 | 52 | 4C | 0 | 37 | EC | 45 | 1A |
| Octal | 25 | 33 | 162 | 122 | 114 | 0 | 67 | 354 | 105 | 32 |
| Binary | 10101 | 11011 | 1110010 | 1010010 | 1001100 | 0 | 110111 | 11101100 | 1000101 | 11010 |
Color Harmonies of #151B72
Complementary color
Monochromatic Colors of #151B72
Black with #151B72
Text Example
Text Example
White with #151B72
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #151B72; }
p { color: rgb(21,27,114); }
H1.HeaderClassName
{
color: #151B72;
}
.AnyTagClassName
{
color: #151B72;
}
</style>
background-color css
<style>
a { background-color: #151B72; }
a { background-color: rgb(21,27,114); }
div.DivClassName
{
background-color: #151B72;
}
.BgClassName
{
background-color: #151B72;
}
</style>
border-color css
<style>
span { border-color: #151B72; }
span { border-color: rgb(21,27,114); }
td.TdClassName
{
border-color: #151B72;
}
.TagClassName
{
border-color: #151B72;
}
</style>