Shades of Midnight Blue #1F2878
Tints of Midnight Blue #1F2878
RGB
CMYK
RGB Variations
Color information
#1F2878 (or 0x1F2878) is known color: Midnight Blue. HEX triplet: 1F, 28 and 78. RGB value is (31,40,120). Sum of RGB (Red+Green+Blue) = 31+40+120=191 (25% of max value = 765). Red value is 31 (12.5% from 255 or 16.23% from 191); Green value is 40 (16.02% from 255 or 20.94% from 191); Blue value is 120 (47.27% from 255 or 62.83% from 191); Max value from RGB is 120 - color contains mainly: blue. Hex color #1F2878 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2878 is #E0D787. Grayscale: #2E2E2E. Windows color (decimal): -14735240 or 7874591. OLE color: 7874591.
HSL color Cylindrical-coordinate representation of color #1F2878: hue angle of 233.93º 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 #1F2878 is Cyan = 0.74, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 31 | 40 | 120 | - |
| CMYK | 0.74 | 0.67 | 0 | 0.53 |
| HSL | 233.93º | 0.59% | 0.3% | - |
| HSV(B) | 233.93º | 0.74% | 0.47% | - |
| XYZ | 4.71 | 3.16 | 18.13 | - |
| YUV | 46.43 | 169.52 | 117 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 40 | 120 | 0.74 | 0.67 | 0 | 0.53 | 233.93 | 0.59 | 0.3 |
| Hex | 1F | 28 | 78 | 4A | 43 | 0 | 35 | EA | 3B | 1E |
| Octal | 37 | 50 | 170 | 112 | 103 | 0 | 65 | 352 | 73 | 36 |
| Binary | 11111 | 101000 | 1111000 | 1001010 | 1000011 | 0 | 110101 | 11101010 | 111011 | 11110 |
Color Harmonies of #1F2878
Complementary color
Monochromatic Colors of #1F2878
Black with #1F2878
Text Example
Text Example
White with #1F2878
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2878; }
p { color: rgb(31,40,120); }
H1.HeaderClassName
{
color: #1F2878;
}
.AnyTagClassName
{
color: #1F2878;
}
</style>
background-color css
<style>
a { background-color: #1F2878; }
a { background-color: rgb(31,40,120); }
div.DivClassName
{
background-color: #1F2878;
}
.BgClassName
{
background-color: #1F2878;
}
</style>
border-color css
<style>
span { border-color: #1F2878; }
span { border-color: rgb(31,40,120); }
td.TdClassName
{
border-color: #1F2878;
}
.TagClassName
{
border-color: #1F2878;
}
</style>