Shades of Midnight Blue #172D81
Tints of Midnight Blue #172D81
RGB
CMYK
RGB Variations
Color information
#172D81 (or 0x172D81) is known color: Midnight Blue. HEX triplet: 17, 2D and 81. RGB value is (23,45,129). Sum of RGB (Red+Green+Blue) = 23+45+129=197 (26% of max value = 765). Red value is 23 (9.38% from 255 or 11.68% from 197); Green value is 45 (17.97% from 255 or 22.84% from 197); Blue value is 129 (50.78% from 255 or 65.48% from 197); Max value from RGB is 129 - color contains mainly: blue. Hex color #172D81 is not a web safe color. Web safe color analog (approx): #003399. Inversed color of #172D81 is #E8D27E. Grayscale: #2F2F2F. Windows color (decimal): -15258239 or 8465687. OLE color: 8465687.
HSL color Cylindrical-coordinate representation of color #172D81: hue angle of 227.55º degrees, saturation: 0.7, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.51% and HSV saturation: 0.82%. Process color model (Four color, CMYK) of #172D81 is Cyan = 0.82, Magento = 0.65, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 23 | 45 | 129 | - |
| CMYK | 0.82 | 0.65 | 0 | 0.49 |
| HSL | 227.55º | 0.7% | 0.3% | - |
| HSV(B) | 227.55º | 0.82% | 0.51% | - |
| XYZ | 5.25 | 3.64 | 21.2 | - |
| YUV | 48 | 173.71 | 110.17 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 45 | 129 | 0.82 | 0.65 | 0 | 0.49 | 227.55 | 0.7 | 0.3 |
| Hex | 17 | 2D | 81 | 52 | 41 | 0 | 31 | E4 | 46 | 1E |
| Octal | 27 | 55 | 201 | 122 | 101 | 0 | 61 | 344 | 106 | 36 |
| Binary | 10111 | 101101 | 10000001 | 1010010 | 1000001 | 0 | 110001 | 11100100 | 1000110 | 11110 |
Color Harmonies of #172D81
Complementary color
Monochromatic Colors of #172D81
Black with #172D81
Text Example
Text Example
White with #172D81
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172D81; }
p { color: rgb(23,45,129); }
H1.HeaderClassName
{
color: #172D81;
}
.AnyTagClassName
{
color: #172D81;
}
</style>
background-color css
<style>
a { background-color: #172D81; }
a { background-color: rgb(23,45,129); }
div.DivClassName
{
background-color: #172D81;
}
.BgClassName
{
background-color: #172D81;
}
</style>
border-color css
<style>
span { border-color: #172D81; }
span { border-color: rgb(23,45,129); }
td.TdClassName
{
border-color: #172D81;
}
.TagClassName
{
border-color: #172D81;
}
</style>