Shades of Midnight Blue #151A57
Tints of Midnight Blue #151A57
RGB
CMYK
RGB Variations
Color information
#151A57 (or 0x151A57) is known color: Midnight Blue. HEX triplet: 15, 1A and 57. RGB value is (21,26,87). Sum of RGB (Red+Green+Blue) = 21+26+87=134 (17% of max value = 765). Red value is 21 (8.59% from 255 or 15.67% from 134); Green value is 26 (10.55% from 255 or 19.40% from 134); Blue value is 87 (34.38% from 255 or 64.93% from 134); Max value from RGB is 87 - color contains mainly: blue. Hex color #151A57 is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #151A57 is #EAE5A8. Grayscale: #1F1F1F. Windows color (decimal): -15394217 or 5708309. OLE color: 5708309.
HSL color Cylindrical-coordinate representation of color #151A57: hue angle of 235.45º 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 #151A57 is Cyan = 0.76, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.66.
Color convert
| RGB | 21 | 26 | 87 | - |
| CMYK | 0.76 | 0.70 | 0 | 0.66 |
| HSL | 235.45º | 0.61% | 0.21% | - |
| HSV(B) | 235.45º | 0.76% | 0.34% | - |
| XYZ | 2.4 | 1.59 | 9.2 | - |
| YUV | 31.46 | 159.34 | 120.54 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 26 | 87 | 0.76 | 0.70 | 0 | 0.66 | 235.45 | 0.61 | 0.21 |
| Hex | 15 | 1A | 57 | 4C | 46 | 0 | 42 | EB | 3D | 15 |
| Octal | 25 | 32 | 127 | 114 | 106 | 0 | 102 | 353 | 75 | 25 |
| Binary | 10101 | 11010 | 1010111 | 1001100 | 1000110 | 0 | 1000010 | 11101011 | 111101 | 10101 |
Color Harmonies of #151A57
Complementary color
Monochromatic Colors of #151A57
Black with #151A57
Text Example
Text Example
White with #151A57
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #151A57; }
p { color: rgb(21,26,87); }
H1.HeaderClassName
{
color: #151A57;
}
.AnyTagClassName
{
color: #151A57;
}
</style>
background-color css
<style>
a { background-color: #151A57; }
a { background-color: rgb(21,26,87); }
div.DivClassName
{
background-color: #151A57;
}
.BgClassName
{
background-color: #151A57;
}
</style>
border-color css
<style>
span { border-color: #151A57; }
span { border-color: rgb(21,26,87); }
td.TdClassName
{
border-color: #151A57;
}
.TagClassName
{
border-color: #151A57;
}
</style>