Shades of Midnight Blue #1F2581
Tints of Midnight Blue #1F2581
RGB
CMYK
RGB Variations
Color information
#1F2581 (or 0x1F2581) is known color: Midnight Blue. HEX triplet: 1F, 25 and 81. RGB value is (31,37,129). Sum of RGB (Red+Green+Blue) = 31+37+129=197 (26% of max value = 765). Red value is 31 (12.5% from 255 or 15.74% from 197); Green value is 37 (14.84% from 255 or 18.78% from 197); Blue value is 129 (50.78% from 255 or 65.48% from 197); Max value from RGB is 129 - color contains mainly: blue. Hex color #1F2581 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #1F2581 is #E0DA7E. Grayscale: #2D2D2D. Windows color (decimal): -14735999 or 8463647. OLE color: 8463647.
HSL color Cylindrical-coordinate representation of color #1F2581: hue angle of 236.33º 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 #1F2581 is Cyan = 0.76, Magento = 0.71, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 31 | 37 | 129 | - |
| CMYK | 0.76 | 0.71 | 0 | 0.49 |
| HSL | 236.33º | 0.61% | 0.31% | - |
| HSV(B) | 236.33º | 0.76% | 0.51% | - |
| XYZ | 5.19 | 3.2 | 21.11 | - |
| YUV | 45.69 | 175.01 | 117.52 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 37 | 129 | 0.76 | 0.71 | 0 | 0.49 | 236.33 | 0.61 | 0.31 |
| Hex | 1F | 25 | 81 | 4C | 47 | 0 | 31 | EC | 3D | 1F |
| Octal | 37 | 45 | 201 | 114 | 107 | 0 | 61 | 354 | 75 | 37 |
| Binary | 11111 | 100101 | 10000001 | 1001100 | 1000111 | 0 | 110001 | 11101100 | 111101 | 11111 |
Color Harmonies of #1F2581
Complementary color
Monochromatic Colors of #1F2581
Black with #1F2581
Text Example
Text Example
White with #1F2581
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2581; }
p { color: rgb(31,37,129); }
H1.HeaderClassName
{
color: #1F2581;
}
.AnyTagClassName
{
color: #1F2581;
}
</style>
background-color css
<style>
a { background-color: #1F2581; }
a { background-color: rgb(31,37,129); }
div.DivClassName
{
background-color: #1F2581;
}
.BgClassName
{
background-color: #1F2581;
}
</style>
border-color css
<style>
span { border-color: #1F2581; }
span { border-color: rgb(31,37,129); }
td.TdClassName
{
border-color: #1F2581;
}
.TagClassName
{
border-color: #1F2581;
}
</style>