Shades of Midnight Blue #1A217F
Tints of Midnight Blue #1A217F
RGB
CMYK
RGB Variations
Color information
#1A217F (or 0x1A217F) is known color: Midnight Blue. HEX triplet: 1A, 21 and 7F. RGB value is (26,33,127). Sum of RGB (Red+Green+Blue) = 26+33+127=186 (24% of max value = 765). Red value is 26 (10.55% from 255 or 13.98% from 186); Green value is 33 (13.28% from 255 or 17.74% from 186); Blue value is 127 (50% from 255 or 68.28% from 186); Max value from RGB is 127 - color contains mainly: blue. Hex color #1A217F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1A217F is #E5DE80. Grayscale: #292929. Windows color (decimal): -15064705 or 8331546. OLE color: 8331546.
HSL color Cylindrical-coordinate representation of color #1A217F: hue angle of 235.84º degrees, saturation: 0.66, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.8%. Process color model (Four color, CMYK) of #1A217F is Cyan = 0.80, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 26 | 33 | 127 | - |
| CMYK | 0.80 | 0.74 | 0 | 0.50 |
| HSL | 235.84º | 0.66% | 0.3% | - |
| HSV(B) | 235.84º | 0.8% | 0.5% | - |
| XYZ | 4.8 | 2.84 | 20.37 | - |
| YUV | 41.62 | 176.18 | 116.86 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 26 | 33 | 127 | 0.80 | 0.74 | 0 | 0.50 | 235.84 | 0.66 | 0.3 |
| Hex | 1A | 21 | 7F | 50 | 4A | 0 | 32 | EC | 42 | 1E |
| Octal | 32 | 41 | 177 | 120 | 112 | 0 | 62 | 354 | 102 | 36 |
| Binary | 11010 | 100001 | 1111111 | 1010000 | 1001010 | 0 | 110010 | 11101100 | 1000010 | 11110 |
Color Harmonies of #1A217F
Complementary color
Monochromatic Colors of #1A217F
Black with #1A217F
Text Example
Text Example
White with #1A217F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1A217F; }
p { color: rgb(26,33,127); }
H1.HeaderClassName
{
color: #1A217F;
}
.AnyTagClassName
{
color: #1A217F;
}
</style>
background-color css
<style>
a { background-color: #1A217F; }
a { background-color: rgb(26,33,127); }
div.DivClassName
{
background-color: #1A217F;
}
.BgClassName
{
background-color: #1A217F;
}
</style>
border-color css
<style>
span { border-color: #1A217F; }
span { border-color: rgb(26,33,127); }
td.TdClassName
{
border-color: #1A217F;
}
.TagClassName
{
border-color: #1A217F;
}
</style>