Shades of Midnight Blue #1F297F
Tints of Midnight Blue #1F297F
RGB
CMYK
RGB Variations
Color information
#1F297F (or 0x1F297F) is known color: Midnight Blue. HEX triplet: 1F, 29 and 7F. RGB value is (31,41,127). Sum of RGB (Red+Green+Blue) = 31+41+127=199 (26% of max value = 765). Red value is 31 (12.5% from 255 or 15.58% from 199); Green value is 41 (16.41% from 255 or 20.60% from 199); Blue value is 127 (50% from 255 or 63.82% from 199); Max value from RGB is 127 - color contains mainly: blue. Hex color #1F297F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F297F is #E0D680. Grayscale: #2F2F2F. Windows color (decimal): -14734977 or 8333599. OLE color: 8333599.
HSL color Cylindrical-coordinate representation of color #1F297F: hue angle of 233.75º degrees, saturation: 0.61, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #1F297F is Cyan = 0.76, Magento = 0.68, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 31 | 41 | 127 | - |
| CMYK | 0.76 | 0.68 | 0 | 0.50 |
| HSL | 233.75º | 0.61% | 0.31% | - |
| HSV(B) | 233.75º | 0.76% | 0.5% | - |
| XYZ | 5.19 | 3.41 | 20.46 | - |
| YUV | 47.81 | 172.69 | 116.01 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 41 | 127 | 0.76 | 0.68 | 0 | 0.50 | 233.75 | 0.61 | 0.31 |
| Hex | 1F | 29 | 7F | 4C | 44 | 0 | 32 | EA | 3D | 1F |
| Octal | 37 | 51 | 177 | 114 | 104 | 0 | 62 | 352 | 75 | 37 |
| Binary | 11111 | 101001 | 1111111 | 1001100 | 1000100 | 0 | 110010 | 11101010 | 111101 | 11111 |
Color Harmonies of #1F297F
Complementary color
Monochromatic Colors of #1F297F
Black with #1F297F
Text Example
Text Example
White with #1F297F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F297F; }
p { color: rgb(31,41,127); }
H1.HeaderClassName
{
color: #1F297F;
}
.AnyTagClassName
{
color: #1F297F;
}
</style>
background-color css
<style>
a { background-color: #1F297F; }
a { background-color: rgb(31,41,127); }
div.DivClassName
{
background-color: #1F297F;
}
.BgClassName
{
background-color: #1F297F;
}
</style>
border-color css
<style>
span { border-color: #1F297F; }
span { border-color: rgb(31,41,127); }
td.TdClassName
{
border-color: #1F297F;
}
.TagClassName
{
border-color: #1F297F;
}
</style>