Shades of Midnight Blue #1F2582
Tints of Midnight Blue #1F2582
RGB
CMYK
RGB Variations
Color information
#1F2582 (or 0x1F2582) is known color: Midnight Blue. HEX triplet: 1F, 25 and 82. RGB value is (31,37,130). Sum of RGB (Red+Green+Blue) = 31+37+130=198 (26% of max value = 765). Red value is 31 (12.5% from 255 or 15.66% from 198); Green value is 37 (14.84% from 255 or 18.69% from 198); Blue value is 130 (51.17% from 255 or 65.66% from 198); Max value from RGB is 130 - color contains mainly: blue. Hex color #1F2582 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #1F2582 is #E0DA7D. Grayscale: #2D2D2D. Windows color (decimal): -14735998 or 8529183. OLE color: 8529183.
HSL color Cylindrical-coordinate representation of color #1F2582: hue angle of 236.36º degrees, saturation: 0.61, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.51% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #1F2582 is Cyan = 0.76, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 31 | 37 | 130 | - |
| CMYK | 0.76 | 0.72 | 0 | 0.49 |
| HSL | 236.36º | 0.61% | 0.32% | - |
| HSV(B) | 236.36º | 0.76% | 0.51% | - |
| XYZ | 5.26 | 3.23 | 21.46 | - |
| YUV | 45.81 | 175.51 | 117.44 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 37 | 130 | 0.76 | 0.72 | 0 | 0.49 | 236.36 | 0.61 | 0.32 |
| Hex | 1F | 25 | 82 | 4C | 48 | 0 | 31 | EC | 3D | 20 |
| Octal | 37 | 45 | 202 | 114 | 110 | 0 | 61 | 354 | 75 | 40 |
| Binary | 11111 | 100101 | 10000010 | 1001100 | 1001000 | 0 | 110001 | 11101100 | 111101 | 100000 |
Color Harmonies of #1F2582
Complementary color
Monochromatic Colors of #1F2582
Black with #1F2582
Text Example
Text Example
White with #1F2582
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2582; }
p { color: rgb(31,37,130); }
H1.HeaderClassName
{
color: #1F2582;
}
.AnyTagClassName
{
color: #1F2582;
}
</style>
background-color css
<style>
a { background-color: #1F2582; }
a { background-color: rgb(31,37,130); }
div.DivClassName
{
background-color: #1F2582;
}
.BgClassName
{
background-color: #1F2582;
}
</style>
border-color css
<style>
span { border-color: #1F2582; }
span { border-color: rgb(31,37,130); }
td.TdClassName
{
border-color: #1F2582;
}
.TagClassName
{
border-color: #1F2582;
}
</style>