Shades of Midnight Blue #1F127B
Tints of Midnight Blue #1F127B
RGB
CMYK
RGB Variations
Color information
#1F127B (or 0x1F127B) is known color: Midnight Blue. HEX triplet: 1F, 12 and 7B. RGB value is (31,18,123). Sum of RGB (Red+Green+Blue) = 31+18+123=172 (22% of max value = 765). Red value is 31 (12.5% from 255 or 18.02% from 172); Green value is 18 (7.42% from 255 or 10.47% from 172); Blue value is 123 (48.44% from 255 or 71.51% from 172); Max value from RGB is 123 - color contains mainly: blue. Hex color #1F127B is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F127B is #E0ED84. Grayscale: #212121. Windows color (decimal): -14740869 or 8065567. OLE color: 8065567.
HSL color Cylindrical-coordinate representation of color #1F127B: hue angle of 247.43º degrees, saturation: 0.74, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.85%. Process color model (Four color, CMYK) of #1F127B is Cyan = 0.75, Magento = 0.85, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 31 | 18 | 123 | - |
| CMYK | 0.75 | 0.85 | 0 | 0.52 |
| HSL | 247.43º | 0.74% | 0.28% | - |
| HSV(B) | 247.43º | 0.85% | 0.48% | - |
| XYZ | 4.36 | 2.15 | 18.93 | - |
| YUV | 33.86 | 178.31 | 125.96 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 18 | 123 | 0.75 | 0.85 | 0 | 0.52 | 247.43 | 0.74 | 0.28 |
| Hex | 1F | 12 | 7B | 4B | 55 | 0 | 34 | F7 | 4A | 1C |
| Octal | 37 | 22 | 173 | 113 | 125 | 0 | 64 | 367 | 112 | 34 |
| Binary | 11111 | 10010 | 1111011 | 1001011 | 1010101 | 0 | 110100 | 11110111 | 1001010 | 11100 |
Color Harmonies of #1F127B
Complementary color
Monochromatic Colors of #1F127B
Black with #1F127B
Text Example
Text Example
White with #1F127B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F127B; }
p { color: rgb(31,18,123); }
H1.HeaderClassName
{
color: #1F127B;
}
.AnyTagClassName
{
color: #1F127B;
}
</style>
background-color css
<style>
a { background-color: #1F127B; }
a { background-color: rgb(31,18,123); }
div.DivClassName
{
background-color: #1F127B;
}
.BgClassName
{
background-color: #1F127B;
}
</style>
border-color css
<style>
span { border-color: #1F127B; }
span { border-color: rgb(31,18,123); }
td.TdClassName
{
border-color: #1F127B;
}
.TagClassName
{
border-color: #1F127B;
}
</style>