Shades of Midnight Blue #1F2A78
Tints of Midnight Blue #1F2A78
RGB
CMYK
RGB Variations
Color information
#1F2A78 (or 0x1F2A78) is known color: Midnight Blue. HEX triplet: 1F, 2A and 78. RGB value is (31,42,120). Sum of RGB (Red+Green+Blue) = 31+42+120=193 (25% of max value = 765). Red value is 31 (12.5% from 255 or 16.06% from 193); Green value is 42 (16.80% from 255 or 21.76% from 193); Blue value is 120 (47.27% from 255 or 62.18% from 193); Max value from RGB is 120 - color contains mainly: blue. Hex color #1F2A78 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2A78 is #E0D587. Grayscale: #2F2F2F. Windows color (decimal): -14734728 or 7875103. OLE color: 7875103.
HSL color Cylindrical-coordinate representation of color #1F2A78: hue angle of 232.58º degrees, saturation: 0.59, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #1F2A78 is Cyan = 0.74, Magento = 0.65, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 31 | 42 | 120 | - |
| CMYK | 0.74 | 0.65 | 0 | 0.53 |
| HSL | 232.58º | 0.59% | 0.3% | - |
| HSV(B) | 232.58º | 0.74% | 0.47% | - |
| XYZ | 4.78 | 3.3 | 18.15 | - |
| YUV | 47.6 | 168.86 | 116.16 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 42 | 120 | 0.74 | 0.65 | 0 | 0.53 | 232.58 | 0.59 | 0.3 |
| Hex | 1F | 2A | 78 | 4A | 41 | 0 | 35 | E9 | 3B | 1E |
| Octal | 37 | 52 | 170 | 112 | 101 | 0 | 65 | 351 | 73 | 36 |
| Binary | 11111 | 101010 | 1111000 | 1001010 | 1000001 | 0 | 110101 | 11101001 | 111011 | 11110 |
Color Harmonies of #1F2A78
Complementary color
Monochromatic Colors of #1F2A78
Black with #1F2A78
Text Example
Text Example
White with #1F2A78
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2A78; }
p { color: rgb(31,42,120); }
H1.HeaderClassName
{
color: #1F2A78;
}
.AnyTagClassName
{
color: #1F2A78;
}
</style>
background-color css
<style>
a { background-color: #1F2A78; }
a { background-color: rgb(31,42,120); }
div.DivClassName
{
background-color: #1F2A78;
}
.BgClassName
{
background-color: #1F2A78;
}
</style>
border-color css
<style>
span { border-color: #1F2A78; }
span { border-color: rgb(31,42,120); }
td.TdClassName
{
border-color: #1F2A78;
}
.TagClassName
{
border-color: #1F2A78;
}
</style>