Shades of Midnight Blue #181F81
Tints of Midnight Blue #181F81
RGB
CMYK
RGB Variations
Color information
#181F81 (or 0x181F81) is known color: Midnight Blue. HEX triplet: 18, 1F and 81. RGB value is (24,31,129). Sum of RGB (Red+Green+Blue) = 24+31+129=184 (24% of max value = 765). Red value is 24 (9.77% from 255 or 13.04% from 184); Green value is 31 (12.5% from 255 or 16.85% from 184); Blue value is 129 (50.78% from 255 or 70.11% from 184); Max value from RGB is 129 - color contains mainly: blue. Hex color #181F81 is not a web safe color. Web safe color analog (approx): #003399. Inversed color of #181F81 is #E7E07E. Grayscale: #272727. Windows color (decimal): -15196287 or 8462104. OLE color: 8462104.
HSL color Cylindrical-coordinate representation of color #181F81: hue angle of 236º degrees, saturation: 0.69, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.51% and HSV saturation: 0.81%. Process color model (Four color, CMYK) of #181F81 is Cyan = 0.81, Magento = 0.76, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 24 | 31 | 129 | - |
| CMYK | 0.81 | 0.76 | 0 | 0.49 |
| HSL | 236º | 0.69% | 0.3% | - |
| HSV(B) | 236º | 0.81% | 0.51% | - |
| XYZ | 4.83 | 2.76 | 21.05 | - |
| YUV | 40.08 | 178.18 | 116.53 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 31 | 129 | 0.81 | 0.76 | 0 | 0.49 | 236 | 0.69 | 0.3 |
| Hex | 18 | 1F | 81 | 51 | 4C | 0 | 31 | EC | 45 | 1E |
| Octal | 30 | 37 | 201 | 121 | 114 | 0 | 61 | 354 | 105 | 36 |
| Binary | 11000 | 11111 | 10000001 | 1010001 | 1001100 | 0 | 110001 | 11101100 | 1000101 | 11110 |
Color Harmonies of #181F81
Complementary color
Monochromatic Colors of #181F81
Black with #181F81
Text Example
Text Example
White with #181F81
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #181F81; }
p { color: rgb(24,31,129); }
H1.HeaderClassName
{
color: #181F81;
}
.AnyTagClassName
{
color: #181F81;
}
</style>
background-color css
<style>
a { background-color: #181F81; }
a { background-color: rgb(24,31,129); }
div.DivClassName
{
background-color: #181F81;
}
.BgClassName
{
background-color: #181F81;
}
</style>
border-color css
<style>
span { border-color: #181F81; }
span { border-color: rgb(24,31,129); }
td.TdClassName
{
border-color: #181F81;
}
.TagClassName
{
border-color: #181F81;
}
</style>