Shades of Midnight Blue #1F2B7B
Tints of Midnight Blue #1F2B7B
RGB
CMYK
RGB Variations
Color information
#1F2B7B (or 0x1F2B7B) is known color: Midnight Blue. HEX triplet: 1F, 2B and 7B. RGB value is (31,43,123). Sum of RGB (Red+Green+Blue) = 31+43+123=197 (26% of max value = 765). Red value is 31 (12.5% from 255 or 15.74% from 197); Green value is 43 (17.19% from 255 or 21.83% from 197); Blue value is 123 (48.44% from 255 or 62.44% from 197); Max value from RGB is 123 - color contains mainly: blue. Hex color #1F2B7B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2B7B is #E0D484. Grayscale: #303030. Windows color (decimal): -14734469 or 8071967. OLE color: 8071967.
HSL color Cylindrical-coordinate representation of color #1F2B7B: hue angle of 232.17º 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 #1F2B7B is Cyan = 0.75, Magento = 0.65, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 31 | 43 | 123 | - |
| CMYK | 0.75 | 0.65 | 0 | 0.52 |
| HSL | 232.17º | 0.6% | 0.3% | - |
| HSV(B) | 232.17º | 0.75% | 0.48% | - |
| XYZ | 5 | 3.45 | 19.14 | - |
| YUV | 48.53 | 170.02 | 115.5 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 43 | 123 | 0.75 | 0.65 | 0 | 0.52 | 232.17 | 0.6 | 0.3 |
| Hex | 1F | 2B | 7B | 4B | 41 | 0 | 34 | E8 | 3C | 1E |
| Octal | 37 | 53 | 173 | 113 | 101 | 0 | 64 | 350 | 74 | 36 |
| Binary | 11111 | 101011 | 1111011 | 1001011 | 1000001 | 0 | 110100 | 11101000 | 111100 | 11110 |
Color Harmonies of #1F2B7B
Complementary color
Monochromatic Colors of #1F2B7B
Black with #1F2B7B
Text Example
Text Example
White with #1F2B7B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2B7B; }
p { color: rgb(31,43,123); }
H1.HeaderClassName
{
color: #1F2B7B;
}
.AnyTagClassName
{
color: #1F2B7B;
}
</style>
background-color css
<style>
a { background-color: #1F2B7B; }
a { background-color: rgb(31,43,123); }
div.DivClassName
{
background-color: #1F2B7B;
}
.BgClassName
{
background-color: #1F2B7B;
}
</style>
border-color css
<style>
span { border-color: #1F2B7B; }
span { border-color: rgb(31,43,123); }
td.TdClassName
{
border-color: #1F2B7B;
}
.TagClassName
{
border-color: #1F2B7B;
}
</style>