Shades of Midnight Blue #151F5F
Tints of Midnight Blue #151F5F
RGB
CMYK
RGB Variations
Color information
#151F5F (or 0x151F5F) is known color: Midnight Blue. HEX triplet: 15, 1F and 5F. RGB value is (21,31,95). Sum of RGB (Red+Green+Blue) = 21+31+95=147 (19% of max value = 765). Red value is 21 (8.59% from 255 or 14.29% from 147); Green value is 31 (12.5% from 255 or 21.09% from 147); Blue value is 95 (37.5% from 255 or 64.63% from 147); Max value from RGB is 95 - color contains mainly: blue. Hex color #151F5F is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #151F5F is #EAE0A0. Grayscale: #232323. Windows color (decimal): -15392929 or 6233877. OLE color: 6233877.
HSL color Cylindrical-coordinate representation of color #151F5F: hue angle of 231.89º degrees, saturation: 0.64, lightness: 0.23%. HSV value (or HSB Brightness) of color is 0.37% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #151F5F is Cyan = 0.78, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.63.
Color convert
| RGB | 21 | 31 | 95 | - |
| CMYK | 0.78 | 0.67 | 0 | 0.63 |
| HSL | 231.89º | 0.64% | 0.23% | - |
| HSV(B) | 231.89º | 0.78% | 0.37% | - |
| XYZ | 2.86 | 1.97 | 11.05 | - |
| YUV | 35.31 | 161.69 | 117.8 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 31 | 95 | 0.78 | 0.67 | 0 | 0.63 | 231.89 | 0.64 | 0.23 |
| Hex | 15 | 1F | 5F | 4E | 43 | 0 | 3F | E8 | 40 | 17 |
| Octal | 25 | 37 | 137 | 116 | 103 | 0 | 77 | 350 | 100 | 27 |
| Binary | 10101 | 11111 | 1011111 | 1001110 | 1000011 | 0 | 111111 | 11101000 | 1000000 | 10111 |
Color Harmonies of #151F5F
Complementary color
Monochromatic Colors of #151F5F
Black with #151F5F
Text Example
Text Example
White with #151F5F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #151F5F; }
p { color: rgb(21,31,95); }
H1.HeaderClassName
{
color: #151F5F;
}
.AnyTagClassName
{
color: #151F5F;
}
</style>
background-color css
<style>
a { background-color: #151F5F; }
a { background-color: rgb(21,31,95); }
div.DivClassName
{
background-color: #151F5F;
}
.BgClassName
{
background-color: #151F5F;
}
</style>
border-color css
<style>
span { border-color: #151F5F; }
span { border-color: rgb(21,31,95); }
td.TdClassName
{
border-color: #151F5F;
}
.TagClassName
{
border-color: #151F5F;
}
</style>