Shades of Midnight Blue #172A84
Tints of Midnight Blue #172A84
RGB
CMYK
RGB Variations
Color information
#172A84 (or 0x172A84) is known color: Midnight Blue. HEX triplet: 17, 2A and 84. RGB value is (23,42,132). Sum of RGB (Red+Green+Blue) = 23+42+132=197 (26% of max value = 765). Red value is 23 (9.38% from 255 or 11.68% from 197); Green value is 42 (16.80% from 255 or 21.32% from 197); Blue value is 132 (51.95% from 255 or 67.01% from 197); Max value from RGB is 132 - color contains mainly: blue. Hex color #172A84 is not a web safe color. Web safe color analog (approx): #003399. Inversed color of #172A84 is #E8D57B. Grayscale: #2E2E2E. Windows color (decimal): -15259004 or 8661527. OLE color: 8661527.
HSL color Cylindrical-coordinate representation of color #172A84: hue angle of 229.54º degrees, saturation: 0.7, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.52% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #172A84 is Cyan = 0.83, Magento = 0.68, Yellow = 0 and Black (K on CMYK) = 0.48.
Color convert
| RGB | 23 | 42 | 132 | - |
| CMYK | 0.83 | 0.68 | 0 | 0.48 |
| HSL | 229.54º | 0.7% | 0.3% | - |
| HSV(B) | 229.54º | 0.83% | 0.52% | - |
| XYZ | 5.35 | 3.5 | 22.22 | - |
| YUV | 46.58 | 176.21 | 111.18 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 42 | 132 | 0.83 | 0.68 | 0 | 0.48 | 229.54 | 0.7 | 0.3 |
| Hex | 17 | 2A | 84 | 53 | 44 | 0 | 30 | E6 | 46 | 1E |
| Octal | 27 | 52 | 204 | 123 | 104 | 0 | 60 | 346 | 106 | 36 |
| Binary | 10111 | 101010 | 10000100 | 1010011 | 1000100 | 0 | 110000 | 11100110 | 1000110 | 11110 |
Color Harmonies of #172A84
Complementary color
Monochromatic Colors of #172A84
Black with #172A84
Text Example
Text Example
White with #172A84
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172A84; }
p { color: rgb(23,42,132); }
H1.HeaderClassName
{
color: #172A84;
}
.AnyTagClassName
{
color: #172A84;
}
</style>
background-color css
<style>
a { background-color: #172A84; }
a { background-color: rgb(23,42,132); }
div.DivClassName
{
background-color: #172A84;
}
.BgClassName
{
background-color: #172A84;
}
</style>
border-color css
<style>
span { border-color: #172A84; }
span { border-color: rgb(23,42,132); }
td.TdClassName
{
border-color: #172A84;
}
.TagClassName
{
border-color: #172A84;
}
</style>