Shades of Midnight Blue #181F7E
Tints of Midnight Blue #181F7E
RGB
CMYK
RGB Variations
Color information
#181F7E (or 0x181F7E) is known color: Midnight Blue. HEX triplet: 18, 1F and 7E. RGB value is (24,31,126). Sum of RGB (Red+Green+Blue) = 24+31+126=181 (23% of max value = 765). Red value is 24 (9.77% from 255 or 13.26% from 181); Green value is 31 (12.5% from 255 or 17.13% from 181); Blue value is 126 (49.61% from 255 or 69.61% from 181); Max value from RGB is 126 - color contains mainly: blue. Hex color #181F7E is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #181F7E is #E7E081. Grayscale: #272727. Windows color (decimal): -15196290 or 8265496. OLE color: 8265496.
HSL color Cylindrical-coordinate representation of color #181F7E: hue angle of 235.88º degrees, saturation: 0.68, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.81%. Process color model (Four color, CMYK) of #181F7E is Cyan = 0.81, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 24 | 31 | 126 | - |
| CMYK | 0.81 | 0.75 | 0 | 0.51 |
| HSL | 235.88º | 0.68% | 0.29% | - |
| HSV(B) | 235.88º | 0.81% | 0.49% | - |
| XYZ | 4.63 | 2.68 | 20.01 | - |
| YUV | 39.74 | 176.68 | 116.78 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 31 | 126 | 0.81 | 0.75 | 0 | 0.51 | 235.88 | 0.68 | 0.29 |
| Hex | 18 | 1F | 7E | 51 | 4B | 0 | 33 | EC | 44 | 1D |
| Octal | 30 | 37 | 176 | 121 | 113 | 0 | 63 | 354 | 104 | 35 |
| Binary | 11000 | 11111 | 1111110 | 1010001 | 1001011 | 0 | 110011 | 11101100 | 1000100 | 11101 |
Color Harmonies of #181F7E
Complementary color
Monochromatic Colors of #181F7E
Black with #181F7E
Text Example
Text Example
White with #181F7E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #181F7E; }
p { color: rgb(24,31,126); }
H1.HeaderClassName
{
color: #181F7E;
}
.AnyTagClassName
{
color: #181F7E;
}
</style>
background-color css
<style>
a { background-color: #181F7E; }
a { background-color: rgb(24,31,126); }
div.DivClassName
{
background-color: #181F7E;
}
.BgClassName
{
background-color: #181F7E;
}
</style>
border-color css
<style>
span { border-color: #181F7E; }
span { border-color: rgb(24,31,126); }
td.TdClassName
{
border-color: #181F7E;
}
.TagClassName
{
border-color: #181F7E;
}
</style>