Shades of Midnight Blue #172A87
Tints of Midnight Blue #172A87
RGB
CMYK
RGB Variations
Color information
#172A87 (or 0x172A87) is known color: Midnight Blue. HEX triplet: 17, 2A and 87. RGB value is (23,42,135). Sum of RGB (Red+Green+Blue) = 23+42+135=200 (26% of max value = 765). Red value is 23 (9.38% from 255 or 11.5% from 200); Green value is 42 (16.80% from 255 or 21% from 200); Blue value is 135 (53.12% from 255 or 67.5% from 200); Max value from RGB is 135 - color contains mainly: blue. Hex color #172A87 is not a web safe color. Web safe color analog (approx): #003399. Inversed color of #172A87 is #E8D578. Grayscale: #2E2E2E. Windows color (decimal): -15259001 or 8858135. OLE color: 8858135.
HSL color Cylindrical-coordinate representation of color #172A87: hue angle of 229.82º degrees, saturation: 0.71, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.53% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #172A87 is Cyan = 0.83, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.47.
Color convert
| RGB | 23 | 42 | 135 | - |
| CMYK | 0.83 | 0.69 | 0 | 0.47 |
| HSL | 229.82º | 0.71% | 0.31% | - |
| HSV(B) | 229.82º | 0.83% | 0.53% | - |
| XYZ | 5.55 | 3.59 | 23.32 | - |
| YUV | 46.92 | 177.71 | 110.94 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 42 | 135 | 0.83 | 0.69 | 0 | 0.47 | 229.82 | 0.71 | 0.31 |
| Hex | 17 | 2A | 87 | 53 | 45 | 0 | 2F | E6 | 47 | 1F |
| Octal | 27 | 52 | 207 | 123 | 105 | 0 | 57 | 346 | 107 | 37 |
| Binary | 10111 | 101010 | 10000111 | 1010011 | 1000101 | 0 | 101111 | 11100110 | 1000111 | 11111 |
Color Harmonies of #172A87
Complementary color
Monochromatic Colors of #172A87
Black with #172A87
Text Example
Text Example
White with #172A87
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172A87; }
p { color: rgb(23,42,135); }
H1.HeaderClassName
{
color: #172A87;
}
.AnyTagClassName
{
color: #172A87;
}
</style>
background-color css
<style>
a { background-color: #172A87; }
a { background-color: rgb(23,42,135); }
div.DivClassName
{
background-color: #172A87;
}
.BgClassName
{
background-color: #172A87;
}
</style>
border-color css
<style>
span { border-color: #172A87; }
span { border-color: rgb(23,42,135); }
td.TdClassName
{
border-color: #172A87;
}
.TagClassName
{
border-color: #172A87;
}
</style>