Shades of Midnight Blue #172A88
Tints of Midnight Blue #172A88
RGB
CMYK
RGB Variations
Color information
#172A88 (or 0x172A88) is known color: Midnight Blue. HEX triplet: 17, 2A and 88. RGB value is (23,42,136). Sum of RGB (Red+Green+Blue) = 23+42+136=201 (26% of max value = 765). Red value is 23 (9.38% from 255 or 11.44% from 201); Green value is 42 (16.80% from 255 or 20.90% from 201); Blue value is 136 (53.52% from 255 or 67.66% from 201); Max value from RGB is 136 - color contains mainly: blue. Hex color #172A88 is not a web safe color. Web safe color analog (approx): #003399. Inversed color of #172A88 is #E8D577. Grayscale: #2E2E2E. Windows color (decimal): -15259000 or 8923671. OLE color: 8923671.
HSL color Cylindrical-coordinate representation of color #172A88: hue angle of 229.91º 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 #172A88 is Cyan = 0.83, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.47.
Color convert
| RGB | 23 | 42 | 136 | - |
| CMYK | 0.83 | 0.69 | 0 | 0.47 |
| HSL | 229.91º | 0.71% | 0.31% | - |
| HSV(B) | 229.91º | 0.83% | 0.53% | - |
| XYZ | 5.63 | 3.62 | 23.69 | - |
| YUV | 47.04 | 178.21 | 110.86 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 42 | 136 | 0.83 | 0.69 | 0 | 0.47 | 229.91 | 0.71 | 0.31 |
| Hex | 17 | 2A | 88 | 53 | 45 | 0 | 2F | E6 | 47 | 1F |
| Octal | 27 | 52 | 210 | 123 | 105 | 0 | 57 | 346 | 107 | 37 |
| Binary | 10111 | 101010 | 10001000 | 1010011 | 1000101 | 0 | 101111 | 11100110 | 1000111 | 11111 |
Color Harmonies of #172A88
Complementary color
Monochromatic Colors of #172A88
Black with #172A88
Text Example
Text Example
White with #172A88
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172A88; }
p { color: rgb(23,42,136); }
H1.HeaderClassName
{
color: #172A88;
}
.AnyTagClassName
{
color: #172A88;
}
</style>
background-color css
<style>
a { background-color: #172A88; }
a { background-color: rgb(23,42,136); }
div.DivClassName
{
background-color: #172A88;
}
.BgClassName
{
background-color: #172A88;
}
</style>
border-color css
<style>
span { border-color: #172A88; }
span { border-color: rgb(23,42,136); }
td.TdClassName
{
border-color: #172A88;
}
.TagClassName
{
border-color: #172A88;
}
</style>