Shades of Midnight Blue #1F217F
Tints of Midnight Blue #1F217F
RGB
CMYK
RGB Variations
Color information
#1F217F (or 0x1F217F) is known color: Midnight Blue. HEX triplet: 1F, 21 and 7F. RGB value is (31,33,127). Sum of RGB (Red+Green+Blue) = 31+33+127=191 (25% of max value = 765). Red value is 31 (12.5% from 255 or 16.23% from 191); Green value is 33 (13.28% from 255 or 17.28% from 191); Blue value is 127 (50% from 255 or 66.49% from 191); Max value from RGB is 127 - color contains mainly: blue. Hex color #1F217F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F217F is #E0DE80. Grayscale: #2A2A2A. Windows color (decimal): -14737025 or 8331551. OLE color: 8331551.
HSL color Cylindrical-coordinate representation of color #1F217F: hue angle of 238.75º 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 #1F217F is Cyan = 0.76, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 31 | 33 | 127 | - |
| CMYK | 0.76 | 0.74 | 0 | 0.50 |
| HSL | 238.75º | 0.61% | 0.31% | - |
| HSV(B) | 238.75º | 0.76% | 0.5% | - |
| XYZ | 4.94 | 2.91 | 20.38 | - |
| YUV | 43.12 | 175.34 | 119.36 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 33 | 127 | 0.76 | 0.74 | 0 | 0.50 | 238.75 | 0.61 | 0.31 |
| Hex | 1F | 21 | 7F | 4C | 4A | 0 | 32 | EF | 3D | 1F |
| Octal | 37 | 41 | 177 | 114 | 112 | 0 | 62 | 357 | 75 | 37 |
| Binary | 11111 | 100001 | 1111111 | 1001100 | 1001010 | 0 | 110010 | 11101111 | 111101 | 11111 |
Color Harmonies of #1F217F
Complementary color
Monochromatic Colors of #1F217F
Black with #1F217F
Text Example
Text Example
White with #1F217F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F217F; }
p { color: rgb(31,33,127); }
H1.HeaderClassName
{
color: #1F217F;
}
.AnyTagClassName
{
color: #1F217F;
}
</style>
background-color css
<style>
a { background-color: #1F217F; }
a { background-color: rgb(31,33,127); }
div.DivClassName
{
background-color: #1F217F;
}
.BgClassName
{
background-color: #1F217F;
}
</style>
border-color css
<style>
span { border-color: #1F217F; }
span { border-color: rgb(31,33,127); }
td.TdClassName
{
border-color: #1F217F;
}
.TagClassName
{
border-color: #1F217F;
}
</style>