Shades of Midnight Blue #1F297D
Tints of Midnight Blue #1F297D
RGB
CMYK
RGB Variations
Color information
#1F297D (or 0x1F297D) is known color: Midnight Blue. HEX triplet: 1F, 29 and 7D. RGB value is (31,41,125). Sum of RGB (Red+Green+Blue) = 31+41+125=197 (26% of max value = 765). Red value is 31 (12.5% from 255 or 15.74% from 197); Green value is 41 (16.41% from 255 or 20.81% from 197); Blue value is 125 (49.22% from 255 or 63.45% from 197); Max value from RGB is 125 - color contains mainly: blue. Hex color #1F297D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F297D is #E0D682. Grayscale: #2F2F2F. Windows color (decimal): -14734979 or 8202527. OLE color: 8202527.
HSL color Cylindrical-coordinate representation of color #1F297D: hue angle of 233.62º degrees, saturation: 0.6, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #1F297D is Cyan = 0.75, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 31 | 41 | 125 | - |
| CMYK | 0.75 | 0.67 | 0 | 0.51 |
| HSL | 233.62º | 0.6% | 0.31% | - |
| HSV(B) | 233.62º | 0.75% | 0.49% | - |
| XYZ | 5.06 | 3.36 | 19.78 | - |
| YUV | 47.59 | 171.69 | 116.17 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 41 | 125 | 0.75 | 0.67 | 0 | 0.51 | 233.62 | 0.6 | 0.31 |
| Hex | 1F | 29 | 7D | 4B | 43 | 0 | 33 | EA | 3C | 1F |
| Octal | 37 | 51 | 175 | 113 | 103 | 0 | 63 | 352 | 74 | 37 |
| Binary | 11111 | 101001 | 1111101 | 1001011 | 1000011 | 0 | 110011 | 11101010 | 111100 | 11111 |
Color Harmonies of #1F297D
Complementary color
Monochromatic Colors of #1F297D
Black with #1F297D
Text Example
Text Example
White with #1F297D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F297D; }
p { color: rgb(31,41,125); }
H1.HeaderClassName
{
color: #1F297D;
}
.AnyTagClassName
{
color: #1F297D;
}
</style>
background-color css
<style>
a { background-color: #1F297D; }
a { background-color: rgb(31,41,125); }
div.DivClassName
{
background-color: #1F297D;
}
.BgClassName
{
background-color: #1F297D;
}
</style>
border-color css
<style>
span { border-color: #1F297D; }
span { border-color: rgb(31,41,125); }
td.TdClassName
{
border-color: #1F297D;
}
.TagClassName
{
border-color: #1F297D;
}
</style>