Shades of Midnight Blue #1F217B
Tints of Midnight Blue #1F217B
RGB
CMYK
RGB Variations
Color information
#1F217B (or 0x1F217B) is known color: Midnight Blue. HEX triplet: 1F, 21 and 7B. RGB value is (31,33,123). Sum of RGB (Red+Green+Blue) = 31+33+123=187 (24% of max value = 765). Red value is 31 (12.5% from 255 or 16.58% from 187); Green value is 33 (13.28% from 255 or 17.65% from 187); Blue value is 123 (48.44% from 255 or 65.78% from 187); Max value from RGB is 123 - color contains mainly: blue. Hex color #1F217B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F217B is #E0DE84. Grayscale: #2A2A2A. Windows color (decimal): -14737029 or 8069407. OLE color: 8069407.
HSL color Cylindrical-coordinate representation of color #1F217B: hue angle of 238.7º 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 #1F217B is Cyan = 0.75, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 31 | 33 | 123 | - |
| CMYK | 0.75 | 0.73 | 0 | 0.52 |
| HSL | 238.7º | 0.6% | 0.3% | - |
| HSV(B) | 238.7º | 0.75% | 0.48% | - |
| XYZ | 4.68 | 2.81 | 19.03 | - |
| YUV | 42.66 | 173.34 | 119.68 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 33 | 123 | 0.75 | 0.73 | 0 | 0.52 | 238.7 | 0.6 | 0.3 |
| Hex | 1F | 21 | 7B | 4B | 49 | 0 | 34 | EF | 3C | 1E |
| Octal | 37 | 41 | 173 | 113 | 111 | 0 | 64 | 357 | 74 | 36 |
| Binary | 11111 | 100001 | 1111011 | 1001011 | 1001001 | 0 | 110100 | 11101111 | 111100 | 11110 |
Color Harmonies of #1F217B
Complementary color
Monochromatic Colors of #1F217B
Black with #1F217B
Text Example
Text Example
White with #1F217B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F217B; }
p { color: rgb(31,33,123); }
H1.HeaderClassName
{
color: #1F217B;
}
.AnyTagClassName
{
color: #1F217B;
}
</style>
background-color css
<style>
a { background-color: #1F217B; }
a { background-color: rgb(31,33,123); }
div.DivClassName
{
background-color: #1F217B;
}
.BgClassName
{
background-color: #1F217B;
}
</style>
border-color css
<style>
span { border-color: #1F217B; }
span { border-color: rgb(31,33,123); }
td.TdClassName
{
border-color: #1F217B;
}
.TagClassName
{
border-color: #1F217B;
}
</style>