Shades of Midnight Blue #1F2B7D
Tints of Midnight Blue #1F2B7D
RGB
CMYK
RGB Variations
Color information
#1F2B7D (or 0x1F2B7D) is known color: Midnight Blue. HEX triplet: 1F, 2B and 7D. RGB value is (31,43,125). Sum of RGB (Red+Green+Blue) = 31+43+125=199 (26% of max value = 765). Red value is 31 (12.5% from 255 or 15.58% from 199); Green value is 43 (17.19% from 255 or 21.61% from 199); Blue value is 125 (49.22% from 255 or 62.81% from 199); Max value from RGB is 125 - color contains mainly: blue. Hex color #1F2B7D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2B7D is #E0D482. Grayscale: #303030. Windows color (decimal): -14734467 or 8203039. OLE color: 8203039.
HSL color Cylindrical-coordinate representation of color #1F2B7D: hue angle of 232.34º degrees, saturation: 0.6, 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 #1F2B7D is Cyan = 0.75, Magento = 0.66, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 31 | 43 | 125 | - |
| CMYK | 0.75 | 0.66 | 0 | 0.51 |
| HSL | 232.34º | 0.6% | 0.31% | - |
| HSV(B) | 232.34º | 0.75% | 0.49% | - |
| XYZ | 5.13 | 3.5 | 19.81 | - |
| YUV | 48.76 | 171.02 | 115.33 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 43 | 125 | 0.75 | 0.66 | 0 | 0.51 | 232.34 | 0.6 | 0.31 |
| Hex | 1F | 2B | 7D | 4B | 42 | 0 | 33 | E8 | 3C | 1F |
| Octal | 37 | 53 | 175 | 113 | 102 | 0 | 63 | 350 | 74 | 37 |
| Binary | 11111 | 101011 | 1111101 | 1001011 | 1000010 | 0 | 110011 | 11101000 | 111100 | 11111 |
Color Harmonies of #1F2B7D
Complementary color
Monochromatic Colors of #1F2B7D
Black with #1F2B7D
Text Example
Text Example
White with #1F2B7D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2B7D; }
p { color: rgb(31,43,125); }
H1.HeaderClassName
{
color: #1F2B7D;
}
.AnyTagClassName
{
color: #1F2B7D;
}
</style>
background-color css
<style>
a { background-color: #1F2B7D; }
a { background-color: rgb(31,43,125); }
div.DivClassName
{
background-color: #1F2B7D;
}
.BgClassName
{
background-color: #1F2B7D;
}
</style>
border-color css
<style>
span { border-color: #1F2B7D; }
span { border-color: rgb(31,43,125); }
td.TdClassName
{
border-color: #1F2B7D;
}
.TagClassName
{
border-color: #1F2B7D;
}
</style>