Shades of Midnight Blue #1F2989
Tints of Midnight Blue #1F2989
RGB
CMYK
RGB Variations
Color information
#1F2989 (or 0x1F2989) is known color: Midnight Blue. HEX triplet: 1F, 29 and 89. RGB value is (31,41,137). Sum of RGB (Red+Green+Blue) = 31+41+137=209 (27% of max value = 765). Red value is 31 (12.5% from 255 or 14.83% from 209); Green value is 41 (16.41% from 255 or 19.62% from 209); Blue value is 137 (53.91% from 255 or 65.55% from 209); Max value from RGB is 137 - color contains mainly: blue. Hex color #1F2989 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #1F2989 is #E0D676. Grayscale: #303030. Windows color (decimal): -14734967 or 8988959. OLE color: 8988959.
HSL color Cylindrical-coordinate representation of color #1F2989: hue angle of 234.34º degrees, saturation: 0.63, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.54% and HSV saturation: 0.77%. Process color model (Four color, CMYK) of #1F2989 is Cyan = 0.77, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.46.
Color convert
| RGB | 31 | 41 | 137 | - |
| CMYK | 0.77 | 0.70 | 0 | 0.46 |
| HSL | 234.34º | 0.63% | 0.33% | - |
| HSV(B) | 234.34º | 0.77% | 0.54% | - |
| XYZ | 5.87 | 3.68 | 24.07 | - |
| YUV | 48.95 | 177.69 | 115.19 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 41 | 137 | 0.77 | 0.70 | 0 | 0.46 | 234.34 | 0.63 | 0.33 |
| Hex | 1F | 29 | 89 | 4D | 46 | 0 | 2E | EA | 3F | 21 |
| Octal | 37 | 51 | 211 | 115 | 106 | 0 | 56 | 352 | 77 | 41 |
| Binary | 11111 | 101001 | 10001001 | 1001101 | 1000110 | 0 | 101110 | 11101010 | 111111 | 100001 |
Color Harmonies of #1F2989
Complementary color
Monochromatic Colors of #1F2989
Black with #1F2989
Text Example
Text Example
White with #1F2989
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2989; }
p { color: rgb(31,41,137); }
H1.HeaderClassName
{
color: #1F2989;
}
.AnyTagClassName
{
color: #1F2989;
}
</style>
background-color css
<style>
a { background-color: #1F2989; }
a { background-color: rgb(31,41,137); }
div.DivClassName
{
background-color: #1F2989;
}
.BgClassName
{
background-color: #1F2989;
}
</style>
border-color css
<style>
span { border-color: #1F2989; }
span { border-color: rgb(31,41,137); }
td.TdClassName
{
border-color: #1F2989;
}
.TagClassName
{
border-color: #1F2989;
}
</style>