Shades of Midnight Blue #1F1A7B
Tints of Midnight Blue #1F1A7B
RGB
CMYK
RGB Variations
Color information
#1F1A7B (or 0x1F1A7B) is known color: Midnight Blue. HEX triplet: 1F, 1A and 7B. RGB value is (31,26,123). Sum of RGB (Red+Green+Blue) = 31+26+123=180 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.22% from 180); Green value is 26 (10.55% from 255 or 14.44% from 180); Blue value is 123 (48.44% from 255 or 68.33% from 180); Max value from RGB is 123 - color contains mainly: blue. Hex color #1F1A7B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F1A7B is #E0E584. Grayscale: #262626. Windows color (decimal): -14738821 or 8067615. OLE color: 8067615.
HSL color Cylindrical-coordinate representation of color #1F1A7B: hue angle of 243.09º degrees, saturation: 0.65, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.79%. Process color model (Four color, CMYK) of #1F1A7B is Cyan = 0.75, Magento = 0.79, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 31 | 26 | 123 | - |
| CMYK | 0.75 | 0.79 | 0 | 0.52 |
| HSL | 243.09º | 0.65% | 0.29% | - |
| HSV(B) | 243.09º | 0.79% | 0.48% | - |
| XYZ | 4.51 | 2.46 | 18.98 | - |
| YUV | 38.55 | 175.66 | 122.61 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 26 | 123 | 0.75 | 0.79 | 0 | 0.52 | 243.09 | 0.65 | 0.29 |
| Hex | 1F | 1A | 7B | 4B | 4F | 0 | 34 | F3 | 41 | 1D |
| Octal | 37 | 32 | 173 | 113 | 117 | 0 | 64 | 363 | 101 | 35 |
| Binary | 11111 | 11010 | 1111011 | 1001011 | 1001111 | 0 | 110100 | 11110011 | 1000001 | 11101 |
Color Harmonies of #1F1A7B
Complementary color
Monochromatic Colors of #1F1A7B
Black with #1F1A7B
Text Example
Text Example
White with #1F1A7B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1A7B; }
p { color: rgb(31,26,123); }
H1.HeaderClassName
{
color: #1F1A7B;
}
.AnyTagClassName
{
color: #1F1A7B;
}
</style>
background-color css
<style>
a { background-color: #1F1A7B; }
a { background-color: rgb(31,26,123); }
div.DivClassName
{
background-color: #1F1A7B;
}
.BgClassName
{
background-color: #1F1A7B;
}
</style>
border-color css
<style>
span { border-color: #1F1A7B; }
span { border-color: rgb(31,26,123); }
td.TdClassName
{
border-color: #1F1A7B;
}
.TagClassName
{
border-color: #1F1A7B;
}
</style>