Shades of Midnight Blue #172A81
Tints of Midnight Blue #172A81
RGB
CMYK
RGB Variations
Color information
#172A81 (or 0x172A81) is known color: Midnight Blue. HEX triplet: 17, 2A and 81. RGB value is (23,42,129). Sum of RGB (Red+Green+Blue) = 23+42+129=194 (25% of max value = 765). Red value is 23 (9.38% from 255 or 11.86% from 194); Green value is 42 (16.80% from 255 or 21.65% from 194); Blue value is 129 (50.78% from 255 or 66.49% from 194); Max value from RGB is 129 - color contains mainly: blue. Hex color #172A81 is not a web safe color. Web safe color analog (approx): #003399. Inversed color of #172A81 is #E8D57E. Grayscale: #2D2D2D. Windows color (decimal): -15259007 or 8464919. OLE color: 8464919.
HSL color Cylindrical-coordinate representation of color #172A81: hue angle of 229.25º 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 #172A81 is Cyan = 0.82, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 23 | 42 | 129 | - |
| CMYK | 0.82 | 0.67 | 0 | 0.49 |
| HSL | 229.25º | 0.7% | 0.3% | - |
| HSV(B) | 229.25º | 0.82% | 0.51% | - |
| XYZ | 5.14 | 3.42 | 21.16 | - |
| YUV | 46.24 | 174.71 | 111.43 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 42 | 129 | 0.82 | 0.67 | 0 | 0.49 | 229.25 | 0.7 | 0.3 |
| Hex | 17 | 2A | 81 | 52 | 43 | 0 | 31 | E5 | 46 | 1E |
| Octal | 27 | 52 | 201 | 122 | 103 | 0 | 61 | 345 | 106 | 36 |
| Binary | 10111 | 101010 | 10000001 | 1010010 | 1000011 | 0 | 110001 | 11100101 | 1000110 | 11110 |
Color Harmonies of #172A81
Complementary color
Monochromatic Colors of #172A81
Black with #172A81
Text Example
Text Example
White with #172A81
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172A81; }
p { color: rgb(23,42,129); }
H1.HeaderClassName
{
color: #172A81;
}
.AnyTagClassName
{
color: #172A81;
}
</style>
background-color css
<style>
a { background-color: #172A81; }
a { background-color: rgb(23,42,129); }
div.DivClassName
{
background-color: #172A81;
}
.BgClassName
{
background-color: #172A81;
}
</style>
border-color css
<style>
span { border-color: #172A81; }
span { border-color: rgb(23,42,129); }
td.TdClassName
{
border-color: #172A81;
}
.TagClassName
{
border-color: #172A81;
}
</style>