Shades of Midnight Blue #172774
Tints of Midnight Blue #172774
RGB
CMYK
RGB Variations
Color information
#172774 (or 0x172774) is known color: Midnight Blue. HEX triplet: 17, 27 and 74. RGB value is (23,39,116). Sum of RGB (Red+Green+Blue) = 23+39+116=178 (23% of max value = 765). Red value is 23 (9.38% from 255 or 12.92% from 178); Green value is 39 (15.62% from 255 or 21.91% from 178); Blue value is 116 (45.70% from 255 or 65.17% from 178); Max value from RGB is 116 - color contains mainly: blue. Hex color #172774 is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #172774 is #E8D88B. Grayscale: #2A2A2A. Windows color (decimal): -15259788 or 7612183. OLE color: 7612183.
HSL color Cylindrical-coordinate representation of color #172774: hue angle of 229.68º degrees, saturation: 0.67, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.8%. Process color model (Four color, CMYK) of #172774 is Cyan = 0.80, Magento = 0.66, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 23 | 39 | 116 | - |
| CMYK | 0.80 | 0.66 | 0 | 0.55 |
| HSL | 229.68º | 0.67% | 0.27% | - |
| HSV(B) | 229.68º | 0.8% | 0.45% | - |
| XYZ | 4.23 | 2.89 | 16.86 | - |
| YUV | 42.99 | 169.2 | 113.74 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 23 | 39 | 116 | 0.80 | 0.66 | 0 | 0.55 | 229.68 | 0.67 | 0.27 |
| Hex | 17 | 27 | 74 | 50 | 42 | 0 | 37 | E6 | 43 | 1B |
| Octal | 27 | 47 | 164 | 120 | 102 | 0 | 67 | 346 | 103 | 33 |
| Binary | 10111 | 100111 | 1110100 | 1010000 | 1000010 | 0 | 110111 | 11100110 | 1000011 | 11011 |
Color Harmonies of #172774
Complementary color
Monochromatic Colors of #172774
Black with #172774
Text Example
Text Example
White with #172774
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #172774; }
p { color: rgb(23,39,116); }
H1.HeaderClassName
{
color: #172774;
}
.AnyTagClassName
{
color: #172774;
}
</style>
background-color css
<style>
a { background-color: #172774; }
a { background-color: rgb(23,39,116); }
div.DivClassName
{
background-color: #172774;
}
.BgClassName
{
background-color: #172774;
}
</style>
border-color css
<style>
span { border-color: #172774; }
span { border-color: rgb(23,39,116); }
td.TdClassName
{
border-color: #172774;
}
.TagClassName
{
border-color: #172774;
}
</style>