Shades of Midnight Blue #1A1F7E
Tints of Midnight Blue #1A1F7E
RGB
CMYK
RGB Variations
Color information
#1A1F7E (or 0x1A1F7E) is known color: Midnight Blue. HEX triplet: 1A, 1F and 7E. RGB value is (26,31,126). Sum of RGB (Red+Green+Blue) = 26+31+126=183 (24% of max value = 765). Red value is 26 (10.55% from 255 or 14.21% from 183); Green value is 31 (12.5% from 255 or 16.94% from 183); Blue value is 126 (49.61% from 255 or 68.85% from 183); Max value from RGB is 126 - color contains mainly: blue. Hex color #1A1F7E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1A1F7E is #E5E081. Grayscale: #272727. Windows color (decimal): -15065218 or 8265498. OLE color: 8265498.
HSL color Cylindrical-coordinate representation of color #1A1F7E: hue angle of 237º degrees, saturation: 0.66, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.79%. Process color model (Four color, CMYK) of #1A1F7E is Cyan = 0.79, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 26 | 31 | 126 | - |
| CMYK | 0.79 | 0.75 | 0 | 0.51 |
| HSL | 237º | 0.66% | 0.3% | - |
| HSV(B) | 237º | 0.79% | 0.49% | - |
| XYZ | 4.68 | 2.71 | 20.01 | - |
| YUV | 40.34 | 176.34 | 117.78 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 26 | 31 | 126 | 0.79 | 0.75 | 0 | 0.51 | 237 | 0.66 | 0.3 |
| Hex | 1A | 1F | 7E | 4F | 4B | 0 | 33 | ED | 42 | 1E |
| Octal | 32 | 37 | 176 | 117 | 113 | 0 | 63 | 355 | 102 | 36 |
| Binary | 11010 | 11111 | 1111110 | 1001111 | 1001011 | 0 | 110011 | 11101101 | 1000010 | 11110 |
Color Harmonies of #1A1F7E
Complementary color
Monochromatic Colors of #1A1F7E
Black with #1A1F7E
Text Example
Text Example
White with #1A1F7E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1A1F7E; }
p { color: rgb(26,31,126); }
H1.HeaderClassName
{
color: #1A1F7E;
}
.AnyTagClassName
{
color: #1A1F7E;
}
</style>
background-color css
<style>
a { background-color: #1A1F7E; }
a { background-color: rgb(26,31,126); }
div.DivClassName
{
background-color: #1A1F7E;
}
.BgClassName
{
background-color: #1A1F7E;
}
</style>
border-color css
<style>
span { border-color: #1A1F7E; }
span { border-color: rgb(26,31,126); }
td.TdClassName
{
border-color: #1A1F7E;
}
.TagClassName
{
border-color: #1A1F7E;
}
</style>