Shades of Midnight Blue #1F1B6B
Tints of Midnight Blue #1F1B6B
RGB
CMYK
RGB Variations
Color information
#1F1B6B (or 0x1F1B6B) is known color: Midnight Blue. HEX triplet: 1F, 1B and 6B. RGB value is (31,27,107). Sum of RGB (Red+Green+Blue) = 31+27+107=165 (21% of max value = 765). Red value is 31 (12.5% from 255 or 18.79% from 165); Green value is 27 (10.94% from 255 or 16.36% from 165); Blue value is 107 (42.19% from 255 or 64.85% from 165); Max value from RGB is 107 - color contains mainly: blue. Hex color #1F1B6B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F1B6B is #E0E494. Grayscale: #252525. Windows color (decimal): -14738581 or 7019295. OLE color: 7019295.
HSL color Cylindrical-coordinate representation of color #1F1B6B: hue angle of 243º degrees, saturation: 0.6, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #1F1B6B is Cyan = 0.71, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 31 | 27 | 107 | - |
| CMYK | 0.71 | 0.75 | 0 | 0.58 |
| HSL | 243º | 0.6% | 0.26% | - |
| HSV(B) | 243º | 0.75% | 0.42% | - |
| XYZ | 3.61 | 2.14 | 14.13 | - |
| YUV | 37.32 | 167.33 | 123.5 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 27 | 107 | 0.71 | 0.75 | 0 | 0.58 | 243 | 0.6 | 0.26 |
| Hex | 1F | 1B | 6B | 47 | 4B | 0 | 3A | F3 | 3C | 1A |
| Octal | 37 | 33 | 153 | 107 | 113 | 0 | 72 | 363 | 74 | 32 |
| Binary | 11111 | 11011 | 1101011 | 1000111 | 1001011 | 0 | 111010 | 11110011 | 111100 | 11010 |
Color Harmonies of #1F1B6B
Complementary color
Monochromatic Colors of #1F1B6B
Black with #1F1B6B
Text Example
Text Example
White with #1F1B6B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1B6B; }
p { color: rgb(31,27,107); }
H1.HeaderClassName
{
color: #1F1B6B;
}
.AnyTagClassName
{
color: #1F1B6B;
}
</style>
background-color css
<style>
a { background-color: #1F1B6B; }
a { background-color: rgb(31,27,107); }
div.DivClassName
{
background-color: #1F1B6B;
}
.BgClassName
{
background-color: #1F1B6B;
}
</style>
border-color css
<style>
span { border-color: #1F1B6B; }
span { border-color: rgb(31,27,107); }
td.TdClassName
{
border-color: #1F1B6B;
}
.TagClassName
{
border-color: #1F1B6B;
}
</style>