Shades of Midnight Blue #1F2B7E
Tints of Midnight Blue #1F2B7E
RGB
CMYK
RGB Variations
Color information
#1F2B7E (or 0x1F2B7E) is known color: Midnight Blue. HEX triplet: 1F, 2B and 7E. RGB value is (31,43,126). Sum of RGB (Red+Green+Blue) = 31+43+126=200 (26% of max value = 765). Red value is 31 (12.5% from 255 or 15.5% from 200); Green value is 43 (17.19% from 255 or 21.5% from 200); Blue value is 126 (49.61% from 255 or 63% from 200); Max value from RGB is 126 - color contains mainly: blue. Hex color #1F2B7E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2B7E is #E0D481. Grayscale: #303030. Windows color (decimal): -14734466 or 8268575. OLE color: 8268575.
HSL color Cylindrical-coordinate representation of color #1F2B7E: hue angle of 232.42º degrees, saturation: 0.61, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #1F2B7E is Cyan = 0.75, Magento = 0.66, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 31 | 43 | 126 | - |
| CMYK | 0.75 | 0.66 | 0 | 0.51 |
| HSL | 232.42º | 0.61% | 0.31% | - |
| HSV(B) | 232.42º | 0.75% | 0.49% | - |
| XYZ | 5.19 | 3.53 | 20.15 | - |
| YUV | 48.87 | 171.52 | 115.25 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 43 | 126 | 0.75 | 0.66 | 0 | 0.51 | 232.42 | 0.61 | 0.31 |
| Hex | 1F | 2B | 7E | 4B | 42 | 0 | 33 | E8 | 3D | 1F |
| Octal | 37 | 53 | 176 | 113 | 102 | 0 | 63 | 350 | 75 | 37 |
| Binary | 11111 | 101011 | 1111110 | 1001011 | 1000010 | 0 | 110011 | 11101000 | 111101 | 11111 |
Color Harmonies of #1F2B7E
Complementary color
Monochromatic Colors of #1F2B7E
Black with #1F2B7E
Text Example
Text Example
White with #1F2B7E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2B7E; }
p { color: rgb(31,43,126); }
H1.HeaderClassName
{
color: #1F2B7E;
}
.AnyTagClassName
{
color: #1F2B7E;
}
</style>
background-color css
<style>
a { background-color: #1F2B7E; }
a { background-color: rgb(31,43,126); }
div.DivClassName
{
background-color: #1F2B7E;
}
.BgClassName
{
background-color: #1F2B7E;
}
</style>
border-color css
<style>
span { border-color: #1F2B7E; }
span { border-color: rgb(31,43,126); }
td.TdClassName
{
border-color: #1F2B7E;
}
.TagClassName
{
border-color: #1F2B7E;
}
</style>