Shades of Midnight Blue #1F287B
Tints of Midnight Blue #1F287B
RGB
CMYK
RGB Variations
Color information
#1F287B (or 0x1F287B) is known color: Midnight Blue. HEX triplet: 1F, 28 and 7B. RGB value is (31,40,123). Sum of RGB (Red+Green+Blue) = 31+40+123=194 (25% of max value = 765). Red value is 31 (12.5% from 255 or 15.98% from 194); Green value is 40 (16.02% from 255 or 20.62% from 194); Blue value is 123 (48.44% from 255 or 63.40% from 194); Max value from RGB is 123 - color contains mainly: blue. Hex color #1F287B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F287B is #E0D784. Grayscale: #2E2E2E. Windows color (decimal): -14735237 or 8071199. OLE color: 8071199.
HSL color Cylindrical-coordinate representation of color #1F287B: hue angle of 234.13º degrees, saturation: 0.6, 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 #1F287B is Cyan = 0.75, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 31 | 40 | 123 | - |
| CMYK | 0.75 | 0.67 | 0 | 0.52 |
| HSL | 234.13º | 0.6% | 0.3% | - |
| HSV(B) | 234.13º | 0.75% | 0.48% | - |
| XYZ | 4.9 | 3.24 | 19.11 | - |
| YUV | 46.77 | 171.02 | 116.75 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 40 | 123 | 0.75 | 0.67 | 0 | 0.52 | 234.13 | 0.6 | 0.3 |
| Hex | 1F | 28 | 7B | 4B | 43 | 0 | 34 | EA | 3C | 1E |
| Octal | 37 | 50 | 173 | 113 | 103 | 0 | 64 | 352 | 74 | 36 |
| Binary | 11111 | 101000 | 1111011 | 1001011 | 1000011 | 0 | 110100 | 11101010 | 111100 | 11110 |
Color Harmonies of #1F287B
Complementary color
Monochromatic Colors of #1F287B
Black with #1F287B
Text Example
Text Example
White with #1F287B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F287B; }
p { color: rgb(31,40,123); }
H1.HeaderClassName
{
color: #1F287B;
}
.AnyTagClassName
{
color: #1F287B;
}
</style>
background-color css
<style>
a { background-color: #1F287B; }
a { background-color: rgb(31,40,123); }
div.DivClassName
{
background-color: #1F287B;
}
.BgClassName
{
background-color: #1F287B;
}
</style>
border-color css
<style>
span { border-color: #1F287B; }
span { border-color: rgb(31,40,123); }
td.TdClassName
{
border-color: #1F287B;
}
.TagClassName
{
border-color: #1F287B;
}
</style>