Shades of Midnight Blue #1F127A
Tints of Midnight Blue #1F127A
RGB
CMYK
RGB Variations
Color information
#1F127A (or 0x1F127A) is known color: Midnight Blue. HEX triplet: 1F, 12 and 7A. RGB value is (31,18,122). Sum of RGB (Red+Green+Blue) = 31+18+122=171 (22% of max value = 765). Red value is 31 (12.5% from 255 or 18.13% from 171); Green value is 18 (7.42% from 255 or 10.53% from 171); Blue value is 122 (48.05% from 255 or 71.35% from 171); Max value from RGB is 122 - color contains mainly: blue. Hex color #1F127A is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F127A is #E0ED85. Grayscale: #212121. Windows color (decimal): -14740870 or 8000031. OLE color: 8000031.
HSL color Cylindrical-coordinate representation of color #1F127A: hue angle of 247.5º degrees, saturation: 0.74, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.85%. Process color model (Four color, CMYK) of #1F127A is Cyan = 0.75, Magento = 0.85, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 31 | 18 | 122 | - |
| CMYK | 0.75 | 0.85 | 0 | 0.52 |
| HSL | 247.5º | 0.74% | 0.27% | - |
| HSV(B) | 247.5º | 0.85% | 0.48% | - |
| XYZ | 4.29 | 2.13 | 18.6 | - |
| YUV | 33.74 | 177.81 | 126.04 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 18 | 122 | 0.75 | 0.85 | 0 | 0.52 | 247.5 | 0.74 | 0.27 |
| Hex | 1F | 12 | 7A | 4B | 55 | 0 | 34 | F8 | 4A | 1B |
| Octal | 37 | 22 | 172 | 113 | 125 | 0 | 64 | 370 | 112 | 33 |
| Binary | 11111 | 10010 | 1111010 | 1001011 | 1010101 | 0 | 110100 | 11111000 | 1001010 | 11011 |
Color Harmonies of #1F127A
Complementary color
Monochromatic Colors of #1F127A
Black with #1F127A
Text Example
Text Example
White with #1F127A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F127A; }
p { color: rgb(31,18,122); }
H1.HeaderClassName
{
color: #1F127A;
}
.AnyTagClassName
{
color: #1F127A;
}
</style>
background-color css
<style>
a { background-color: #1F127A; }
a { background-color: rgb(31,18,122); }
div.DivClassName
{
background-color: #1F127A;
}
.BgClassName
{
background-color: #1F127A;
}
</style>
border-color css
<style>
span { border-color: #1F127A; }
span { border-color: rgb(31,18,122); }
td.TdClassName
{
border-color: #1F127A;
}
.TagClassName
{
border-color: #1F127A;
}
</style>