Shades of Midnight Blue #151B56
Tints of Midnight Blue #151B56
RGB
CMYK
RGB Variations
Color information
#151B56 (or 0x151B56) is known color: Midnight Blue. HEX triplet: 15, 1B and 56. RGB value is (21,27,86). Sum of RGB (Red+Green+Blue) = 21+27+86=134 (17% of max value = 765). Red value is 21 (8.59% from 255 or 15.67% from 134); Green value is 27 (10.94% from 255 or 20.15% from 134); Blue value is 86 (33.98% from 255 or 64.18% from 134); Max value from RGB is 86 - color contains mainly: blue. Hex color #151B56 is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #151B56 is #EAE4A9. Grayscale: #1F1F1F. Windows color (decimal): -15393962 or 5643029. OLE color: 5643029.
HSL color Cylindrical-coordinate representation of color #151B56: hue angle of 234.46º degrees, saturation: 0.61, lightness: 0.21%. HSV value (or HSB Brightness) of color is 0.34% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #151B56 is Cyan = 0.76, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.66.
Color convert
| RGB | 21 | 27 | 86 | - |
| CMYK | 0.76 | 0.69 | 0 | 0.66 |
| HSL | 234.46º | 0.61% | 0.21% | - |
| HSV(B) | 234.46º | 0.76% | 0.34% | - |
| XYZ | 2.38 | 1.62 | 8.99 | - |
| YUV | 31.93 | 158.51 | 120.2 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 27 | 86 | 0.76 | 0.69 | 0 | 0.66 | 234.46 | 0.61 | 0.21 |
| Hex | 15 | 1B | 56 | 4C | 45 | 0 | 42 | EA | 3D | 15 |
| Octal | 25 | 33 | 126 | 114 | 105 | 0 | 102 | 352 | 75 | 25 |
| Binary | 10101 | 11011 | 1010110 | 1001100 | 1000101 | 0 | 1000010 | 11101010 | 111101 | 10101 |
Color Harmonies of #151B56
Complementary color
Monochromatic Colors of #151B56
Black with #151B56
Text Example
Text Example
White with #151B56
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #151B56; }
p { color: rgb(21,27,86); }
H1.HeaderClassName
{
color: #151B56;
}
.AnyTagClassName
{
color: #151B56;
}
</style>
background-color css
<style>
a { background-color: #151B56; }
a { background-color: rgb(21,27,86); }
div.DivClassName
{
background-color: #151B56;
}
.BgClassName
{
background-color: #151B56;
}
</style>
border-color css
<style>
span { border-color: #151B56; }
span { border-color: rgb(21,27,86); }
td.TdClassName
{
border-color: #151B56;
}
.TagClassName
{
border-color: #151B56;
}
</style>