Shades of Midnight Blue #1F2687
Tints of Midnight Blue #1F2687
RGB
CMYK
RGB Variations
Color information
#1F2687 (or 0x1F2687) is known color: Midnight Blue. HEX triplet: 1F, 26 and 87. RGB value is (31,38,135). Sum of RGB (Red+Green+Blue) = 31+38+135=204 (27% of max value = 765). Red value is 31 (12.5% from 255 or 15.20% from 204); Green value is 38 (15.23% from 255 or 18.63% from 204); Blue value is 135 (53.12% from 255 or 66.18% from 204); Max value from RGB is 135 - color contains mainly: blue. Hex color #1F2687 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #1F2687 is #E0D978. Grayscale: #2E2E2E. Windows color (decimal): -14735737 or 8857119. OLE color: 8857119.
HSL color Cylindrical-coordinate representation of color #1F2687: hue angle of 235.96º degrees, saturation: 0.63, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.53% and HSV saturation: 0.77%. Process color model (Four color, CMYK) of #1F2687 is Cyan = 0.77, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.47.
Color convert
| RGB | 31 | 38 | 135 | - |
| CMYK | 0.77 | 0.72 | 0 | 0.47 |
| HSL | 235.96º | 0.63% | 0.33% | - |
| HSV(B) | 235.96º | 0.77% | 0.53% | - |
| XYZ | 5.63 | 3.43 | 23.29 | - |
| YUV | 46.97 | 177.68 | 116.61 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 38 | 135 | 0.77 | 0.72 | 0 | 0.47 | 235.96 | 0.63 | 0.33 |
| Hex | 1F | 26 | 87 | 4D | 48 | 0 | 2F | EC | 3F | 21 |
| Octal | 37 | 46 | 207 | 115 | 110 | 0 | 57 | 354 | 77 | 41 |
| Binary | 11111 | 100110 | 10000111 | 1001101 | 1001000 | 0 | 101111 | 11101100 | 111111 | 100001 |
Color Harmonies of #1F2687
Complementary color
Monochromatic Colors of #1F2687
Black with #1F2687
Text Example
Text Example
White with #1F2687
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2687; }
p { color: rgb(31,38,135); }
H1.HeaderClassName
{
color: #1F2687;
}
.AnyTagClassName
{
color: #1F2687;
}
</style>
background-color css
<style>
a { background-color: #1F2687; }
a { background-color: rgb(31,38,135); }
div.DivClassName
{
background-color: #1F2687;
}
.BgClassName
{
background-color: #1F2687;
}
</style>
border-color css
<style>
span { border-color: #1F2687; }
span { border-color: rgb(31,38,135); }
td.TdClassName
{
border-color: #1F2687;
}
.TagClassName
{
border-color: #1F2687;
}
</style>