Shades of Midnight Blue #1F2881
Tints of Midnight Blue #1F2881
RGB
CMYK
RGB Variations
Color information
#1F2881 (or 0x1F2881) is known color: Midnight Blue. HEX triplet: 1F, 28 and 81. RGB value is (31,40,129). Sum of RGB (Red+Green+Blue) = 31+40+129=200 (26% of max value = 765). Red value is 31 (12.5% from 255 or 15.5% from 200); Green value is 40 (16.02% from 255 or 20% from 200); Blue value is 129 (50.78% from 255 or 64.5% from 200); Max value from RGB is 129 - color contains mainly: blue. Hex color #1F2881 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #1F2881 is #E0D77E. Grayscale: #2F2F2F. Windows color (decimal): -14735231 or 8464415. OLE color: 8464415.
HSL color Cylindrical-coordinate representation of color #1F2881: hue angle of 234.49º degrees, saturation: 0.61, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.51% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #1F2881 is Cyan = 0.76, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 31 | 40 | 129 | - |
| CMYK | 0.76 | 0.69 | 0 | 0.49 |
| HSL | 234.49º | 0.61% | 0.31% | - |
| HSV(B) | 234.49º | 0.76% | 0.51% | - |
| XYZ | 5.29 | 3.39 | 21.15 | - |
| YUV | 47.46 | 174.02 | 116.26 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 40 | 129 | 0.76 | 0.69 | 0 | 0.49 | 234.49 | 0.61 | 0.31 |
| Hex | 1F | 28 | 81 | 4C | 45 | 0 | 31 | EA | 3D | 1F |
| Octal | 37 | 50 | 201 | 114 | 105 | 0 | 61 | 352 | 75 | 37 |
| Binary | 11111 | 101000 | 10000001 | 1001100 | 1000101 | 0 | 110001 | 11101010 | 111101 | 11111 |
Color Harmonies of #1F2881
Complementary color
Monochromatic Colors of #1F2881
Black with #1F2881
Text Example
Text Example
White with #1F2881
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2881; }
p { color: rgb(31,40,129); }
H1.HeaderClassName
{
color: #1F2881;
}
.AnyTagClassName
{
color: #1F2881;
}
</style>
background-color css
<style>
a { background-color: #1F2881; }
a { background-color: rgb(31,40,129); }
div.DivClassName
{
background-color: #1F2881;
}
.BgClassName
{
background-color: #1F2881;
}
</style>
border-color css
<style>
span { border-color: #1F2881; }
span { border-color: rgb(31,40,129); }
td.TdClassName
{
border-color: #1F2881;
}
.TagClassName
{
border-color: #1F2881;
}
</style>