Shades of Midnight Blue #1F288D
Tints of Midnight Blue #1F288D
RGB
CMYK
RGB Variations
Color information
#1F288D (or 0x1F288D) is known color: Midnight Blue. HEX triplet: 1F, 28 and 8D. RGB value is (31,40,141). Sum of RGB (Red+Green+Blue) = 31+40+141=212 (28% of max value = 765). Red value is 31 (12.5% from 255 or 14.62% from 212); Green value is 40 (16.02% from 255 or 18.87% from 212); Blue value is 141 (55.47% from 255 or 66.51% from 212); Max value from RGB is 141 - color contains mainly: blue. Hex color #1F288D is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #1F288D is #E0D772. Grayscale: #303030. Windows color (decimal): -14735219 or 9250847. OLE color: 9250847.
HSL color Cylindrical-coordinate representation of color #1F288D: hue angle of 235.09º degrees, saturation: 0.64, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #1F288D is Cyan = 0.78, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 31 | 40 | 141 | - |
| CMYK | 0.78 | 0.72 | 0 | 0.45 |
| HSL | 235.09º | 0.64% | 0.34% | - |
| HSV(B) | 235.09º | 0.78% | 0.55% | - |
| XYZ | 6.13 | 3.73 | 25.6 | - |
| YUV | 48.82 | 180.02 | 115.29 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 40 | 141 | 0.78 | 0.72 | 0 | 0.45 | 235.09 | 0.64 | 0.34 |
| Hex | 1F | 28 | 8D | 4E | 48 | 0 | 2D | EB | 40 | 22 |
| Octal | 37 | 50 | 215 | 116 | 110 | 0 | 55 | 353 | 100 | 42 |
| Binary | 11111 | 101000 | 10001101 | 1001110 | 1001000 | 0 | 101101 | 11101011 | 1000000 | 100010 |
Color Harmonies of #1F288D
Complementary color
Monochromatic Colors of #1F288D
Black with #1F288D
Text Example
Text Example
White with #1F288D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F288D; }
p { color: rgb(31,40,141); }
H1.HeaderClassName
{
color: #1F288D;
}
.AnyTagClassName
{
color: #1F288D;
}
</style>
background-color css
<style>
a { background-color: #1F288D; }
a { background-color: rgb(31,40,141); }
div.DivClassName
{
background-color: #1F288D;
}
.BgClassName
{
background-color: #1F288D;
}
</style>
border-color css
<style>
span { border-color: #1F288D; }
span { border-color: rgb(31,40,141); }
td.TdClassName
{
border-color: #1F288D;
}
.TagClassName
{
border-color: #1F288D;
}
</style>