Shades of Midnight Blue #1F297C
Tints of Midnight Blue #1F297C
RGB
CMYK
RGB Variations
Color information
#1F297C (or 0x1F297C) is known color: Midnight Blue. HEX triplet: 1F, 29 and 7C. RGB value is (31,41,124). Sum of RGB (Red+Green+Blue) = 31+41+124=196 (25% of max value = 765). Red value is 31 (12.5% from 255 or 15.82% from 196); Green value is 41 (16.41% from 255 or 20.92% from 196); Blue value is 124 (48.83% from 255 or 63.27% from 196); Max value from RGB is 124 - color contains mainly: blue. Hex color #1F297C is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F297C is #E0D683. Grayscale: #2F2F2F. Windows color (decimal): -14734980 or 8136991. OLE color: 8136991.
HSL color Cylindrical-coordinate representation of color #1F297C: hue angle of 233.55º degrees, saturation: 0.6, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #1F297C is Cyan = 0.75, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 31 | 41 | 124 | - |
| CMYK | 0.75 | 0.67 | 0 | 0.51 |
| HSL | 233.55º | 0.6% | 0.3% | - |
| HSV(B) | 233.55º | 0.75% | 0.49% | - |
| XYZ | 5 | 3.33 | 19.45 | - |
| YUV | 47.47 | 171.19 | 116.25 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 41 | 124 | 0.75 | 0.67 | 0 | 0.51 | 233.55 | 0.6 | 0.3 |
| Hex | 1F | 29 | 7C | 4B | 43 | 0 | 33 | EA | 3C | 1E |
| Octal | 37 | 51 | 174 | 113 | 103 | 0 | 63 | 352 | 74 | 36 |
| Binary | 11111 | 101001 | 1111100 | 1001011 | 1000011 | 0 | 110011 | 11101010 | 111100 | 11110 |
Color Harmonies of #1F297C
Complementary color
Monochromatic Colors of #1F297C
Black with #1F297C
Text Example
Text Example
White with #1F297C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F297C; }
p { color: rgb(31,41,124); }
H1.HeaderClassName
{
color: #1F297C;
}
.AnyTagClassName
{
color: #1F297C;
}
</style>
background-color css
<style>
a { background-color: #1F297C; }
a { background-color: rgb(31,41,124); }
div.DivClassName
{
background-color: #1F297C;
}
.BgClassName
{
background-color: #1F297C;
}
</style>
border-color css
<style>
span { border-color: #1F297C; }
span { border-color: rgb(31,41,124); }
td.TdClassName
{
border-color: #1F297C;
}
.TagClassName
{
border-color: #1F297C;
}
</style>