Shades of Midnight Blue #2A1F73
Tints of Midnight Blue #2A1F73
RGB
CMYK
RGB Variations
Color information
#2A1F73 (or 0x2A1F73) is known color: Midnight Blue. HEX triplet: 2A, 1F and 73. RGB value is (42,31,115). Sum of RGB (Red+Green+Blue) = 42+31+115=188 (24% of max value = 765). Red value is 42 (16.80% from 255 or 22.34% from 188); Green value is 31 (12.5% from 255 or 16.49% from 188); Blue value is 115 (45.31% from 255 or 61.17% from 188); Max value from RGB is 115 - color contains mainly: blue. Hex color #2A1F73 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A1F73 is #D5E08C. Grayscale: #2B2B2B. Windows color (decimal): -14016653 or 7544618. OLE color: 7544618.
HSL color Cylindrical-coordinate representation of color #2A1F73: hue angle of 247.86º degrees, saturation: 0.58, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #2A1F73 is Cyan = 0.63, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 42 | 31 | 115 | - |
| CMYK | 0.63 | 0.73 | 0 | 0.55 |
| HSL | 247.86º | 0.58% | 0.29% | - |
| HSV(B) | 247.86º | 0.73% | 0.45% | - |
| XYZ | 4.54 | 2.71 | 16.5 | - |
| YUV | 43.87 | 168.14 | 126.67 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 31 | 115 | 0.63 | 0.73 | 0 | 0.55 | 247.86 | 0.58 | 0.29 |
| Hex | 2A | 1F | 73 | 3F | 49 | 0 | 37 | F8 | 3A | 1D |
| Octal | 52 | 37 | 163 | 77 | 111 | 0 | 67 | 370 | 72 | 35 |
| Binary | 101010 | 11111 | 1110011 | 111111 | 1001001 | 0 | 110111 | 11111000 | 111010 | 11101 |
Color Harmonies of #2A1F73
Complementary color
Monochromatic Colors of #2A1F73
Black with #2A1F73
Text Example
Text Example
White with #2A1F73
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A1F73; }
p { color: rgb(42,31,115); }
H1.HeaderClassName
{
color: #2A1F73;
}
.AnyTagClassName
{
color: #2A1F73;
}
</style>
background-color css
<style>
a { background-color: #2A1F73; }
a { background-color: rgb(42,31,115); }
div.DivClassName
{
background-color: #2A1F73;
}
.BgClassName
{
background-color: #2A1F73;
}
</style>
border-color css
<style>
span { border-color: #2A1F73; }
span { border-color: rgb(42,31,115); }
td.TdClassName
{
border-color: #2A1F73;
}
.TagClassName
{
border-color: #2A1F73;
}
</style>