Shades of Midnight Blue #1F1A6C
Tints of Midnight Blue #1F1A6C
RGB
CMYK
RGB Variations
Color information
#1F1A6C (or 0x1F1A6C) is known color: Midnight Blue. HEX triplet: 1F, 1A and 6C. RGB value is (31,26,108). Sum of RGB (Red+Green+Blue) = 31+26+108=165 (21% of max value = 765). Red value is 31 (12.5% from 255 or 18.79% from 165); Green value is 26 (10.55% from 255 or 15.76% from 165); Blue value is 108 (42.58% from 255 or 65.45% from 165); Max value from RGB is 108 - color contains mainly: blue. Hex color #1F1A6C is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F1A6C is #E0E593. Grayscale: #242424. Windows color (decimal): -14738836 or 7084575. OLE color: 7084575.
HSL color Cylindrical-coordinate representation of color #1F1A6C: hue angle of 243.66º degrees, saturation: 0.61, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #1F1A6C is Cyan = 0.71, Magento = 0.76, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 31 | 26 | 108 | - |
| CMYK | 0.71 | 0.76 | 0 | 0.58 |
| HSL | 243.66º | 0.61% | 0.26% | - |
| HSV(B) | 243.66º | 0.76% | 0.42% | - |
| XYZ | 3.64 | 2.11 | 14.4 | - |
| YUV | 36.84 | 168.16 | 123.83 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 26 | 108 | 0.71 | 0.76 | 0 | 0.58 | 243.66 | 0.61 | 0.26 |
| Hex | 1F | 1A | 6C | 47 | 4C | 0 | 3A | F4 | 3D | 1A |
| Octal | 37 | 32 | 154 | 107 | 114 | 0 | 72 | 364 | 75 | 32 |
| Binary | 11111 | 11010 | 1101100 | 1000111 | 1001100 | 0 | 111010 | 11110100 | 111101 | 11010 |
Color Harmonies of #1F1A6C
Complementary color
Monochromatic Colors of #1F1A6C
Black with #1F1A6C
Text Example
Text Example
White with #1F1A6C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1A6C; }
p { color: rgb(31,26,108); }
H1.HeaderClassName
{
color: #1F1A6C;
}
.AnyTagClassName
{
color: #1F1A6C;
}
</style>
background-color css
<style>
a { background-color: #1F1A6C; }
a { background-color: rgb(31,26,108); }
div.DivClassName
{
background-color: #1F1A6C;
}
.BgClassName
{
background-color: #1F1A6C;
}
</style>
border-color css
<style>
span { border-color: #1F1A6C; }
span { border-color: rgb(31,26,108); }
td.TdClassName
{
border-color: #1F1A6C;
}
.TagClassName
{
border-color: #1F1A6C;
}
</style>