Shades of Midnight Blue #1F2B7F
Tints of Midnight Blue #1F2B7F
RGB
CMYK
RGB Variations
Color information
#1F2B7F (or 0x1F2B7F) is known color: Midnight Blue. HEX triplet: 1F, 2B and 7F. RGB value is (31,43,127). Sum of RGB (Red+Green+Blue) = 31+43+127=201 (26% of max value = 765). Red value is 31 (12.5% from 255 or 15.42% from 201); Green value is 43 (17.19% from 255 or 21.39% from 201); Blue value is 127 (50% from 255 or 63.18% from 201); Max value from RGB is 127 - color contains mainly: blue. Hex color #1F2B7F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2B7F is #E0D480. Grayscale: #303030. Windows color (decimal): -14734465 or 8334111. OLE color: 8334111.
HSL color Cylindrical-coordinate representation of color #1F2B7F: hue angle of 232.5º degrees, saturation: 0.61, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #1F2B7F is Cyan = 0.76, Magento = 0.66, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 31 | 43 | 127 | - |
| CMYK | 0.76 | 0.66 | 0 | 0.50 |
| HSL | 232.5º | 0.61% | 0.31% | - |
| HSV(B) | 232.5º | 0.76% | 0.5% | - |
| XYZ | 5.26 | 3.55 | 20.49 | - |
| YUV | 48.99 | 172.02 | 115.17 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 43 | 127 | 0.76 | 0.66 | 0 | 0.50 | 232.5 | 0.61 | 0.31 |
| Hex | 1F | 2B | 7F | 4C | 42 | 0 | 32 | E8 | 3D | 1F |
| Octal | 37 | 53 | 177 | 114 | 102 | 0 | 62 | 350 | 75 | 37 |
| Binary | 11111 | 101011 | 1111111 | 1001100 | 1000010 | 0 | 110010 | 11101000 | 111101 | 11111 |
Color Harmonies of #1F2B7F
Complementary color
Monochromatic Colors of #1F2B7F
Black with #1F2B7F
Text Example
Text Example
White with #1F2B7F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2B7F; }
p { color: rgb(31,43,127); }
H1.HeaderClassName
{
color: #1F2B7F;
}
.AnyTagClassName
{
color: #1F2B7F;
}
</style>
background-color css
<style>
a { background-color: #1F2B7F; }
a { background-color: rgb(31,43,127); }
div.DivClassName
{
background-color: #1F2B7F;
}
.BgClassName
{
background-color: #1F2B7F;
}
</style>
border-color css
<style>
span { border-color: #1F2B7F; }
span { border-color: rgb(31,43,127); }
td.TdClassName
{
border-color: #1F2B7F;
}
.TagClassName
{
border-color: #1F2B7F;
}
</style>