Shades of Midnight Blue #2A2079
Tints of Midnight Blue #2A2079
RGB
CMYK
RGB Variations
Color information
#2A2079 (or 0x2A2079) is known color: Midnight Blue. HEX triplet: 2A, 20 and 79. RGB value is (42,32,121). Sum of RGB (Red+Green+Blue) = 42+32+121=195 (25% of max value = 765). Red value is 42 (16.80% from 255 or 21.54% from 195); Green value is 32 (12.89% from 255 or 16.41% from 195); Blue value is 121 (47.66% from 255 or 62.05% from 195); Max value from RGB is 121 - color contains mainly: blue. Hex color #2A2079 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A2079 is #D5DF86. Grayscale: #2C2C2C. Windows color (decimal): -14016391 or 7938090. OLE color: 7938090.
HSL color Cylindrical-coordinate representation of color #2A2079: hue angle of 246.74º degrees, saturation: 0.58, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #2A2079 is Cyan = 0.65, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 42 | 32 | 121 | - |
| CMYK | 0.65 | 0.74 | 0 | 0.53 |
| HSL | 246.74º | 0.58% | 0.3% | - |
| HSV(B) | 246.74º | 0.74% | 0.47% | - |
| XYZ | 4.92 | 2.91 | 18.39 | - |
| YUV | 45.14 | 170.81 | 125.76 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 32 | 121 | 0.65 | 0.74 | 0 | 0.53 | 246.74 | 0.58 | 0.3 |
| Hex | 2A | 20 | 79 | 41 | 4A | 0 | 35 | F7 | 3A | 1E |
| Octal | 52 | 40 | 171 | 101 | 112 | 0 | 65 | 367 | 72 | 36 |
| Binary | 101010 | 100000 | 1111001 | 1000001 | 1001010 | 0 | 110101 | 11110111 | 111010 | 11110 |
Color Harmonies of #2A2079
Complementary color
Monochromatic Colors of #2A2079
Black with #2A2079
Text Example
Text Example
White with #2A2079
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A2079; }
p { color: rgb(42,32,121); }
H1.HeaderClassName
{
color: #2A2079;
}
.AnyTagClassName
{
color: #2A2079;
}
</style>
background-color css
<style>
a { background-color: #2A2079; }
a { background-color: rgb(42,32,121); }
div.DivClassName
{
background-color: #2A2079;
}
.BgClassName
{
background-color: #2A2079;
}
</style>
border-color css
<style>
span { border-color: #2A2079; }
span { border-color: rgb(42,32,121); }
td.TdClassName
{
border-color: #2A2079;
}
.TagClassName
{
border-color: #2A2079;
}
</style>