Shades of Midnight Blue #1F297A
Tints of Midnight Blue #1F297A
RGB
CMYK
RGB Variations
Color information
#1F297A (or 0x1F297A) is known color: Midnight Blue. HEX triplet: 1F, 29 and 7A. RGB value is (31,41,122). Sum of RGB (Red+Green+Blue) = 31+41+122=194 (25% of max value = 765). Red value is 31 (12.5% from 255 or 15.98% from 194); Green value is 41 (16.41% from 255 or 21.13% from 194); Blue value is 122 (48.05% from 255 or 62.89% from 194); Max value from RGB is 122 - color contains mainly: blue. Hex color #1F297A is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F297A is #E0D685. Grayscale: #2E2E2E. Windows color (decimal): -14734982 or 8005919. OLE color: 8005919.
HSL color Cylindrical-coordinate representation of color #1F297A: hue angle of 233.41º degrees, saturation: 0.59, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #1F297A is Cyan = 0.75, Magento = 0.66, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 31 | 41 | 122 | - |
| CMYK | 0.75 | 0.66 | 0 | 0.52 |
| HSL | 233.41º | 0.59% | 0.3% | - |
| HSV(B) | 233.41º | 0.75% | 0.48% | - |
| XYZ | 4.87 | 3.28 | 18.79 | - |
| YUV | 47.24 | 170.19 | 116.41 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 41 | 122 | 0.75 | 0.66 | 0 | 0.52 | 233.41 | 0.59 | 0.3 |
| Hex | 1F | 29 | 7A | 4B | 42 | 0 | 34 | E9 | 3B | 1E |
| Octal | 37 | 51 | 172 | 113 | 102 | 0 | 64 | 351 | 73 | 36 |
| Binary | 11111 | 101001 | 1111010 | 1001011 | 1000010 | 0 | 110100 | 11101001 | 111011 | 11110 |
Color Harmonies of #1F297A
Complementary color
Monochromatic Colors of #1F297A
Black with #1F297A
Text Example
Text Example
White with #1F297A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F297A; }
p { color: rgb(31,41,122); }
H1.HeaderClassName
{
color: #1F297A;
}
.AnyTagClassName
{
color: #1F297A;
}
</style>
background-color css
<style>
a { background-color: #1F297A; }
a { background-color: rgb(31,41,122); }
div.DivClassName
{
background-color: #1F297A;
}
.BgClassName
{
background-color: #1F297A;
}
</style>
border-color css
<style>
span { border-color: #1F297A; }
span { border-color: rgb(31,41,122); }
td.TdClassName
{
border-color: #1F297A;
}
.TagClassName
{
border-color: #1F297A;
}
</style>