Shades of Midnight Blue #2A2579
Tints of Midnight Blue #2A2579
RGB
CMYK
RGB Variations
Color information
#2A2579 (or 0x2A2579) is known color: Midnight Blue. HEX triplet: 2A, 25 and 79. RGB value is (42,37,121). Sum of RGB (Red+Green+Blue) = 42+37+121=200 (26% of max value = 765). Red value is 42 (16.80% from 255 or 21% from 200); Green value is 37 (14.84% from 255 or 18.5% from 200); Blue value is 121 (47.66% from 255 or 60.5% from 200); Max value from RGB is 121 - color contains mainly: blue. Hex color #2A2579 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A2579 is #D5DA86. Grayscale: #2F2F2F. Windows color (decimal): -14015111 or 7939370. OLE color: 7939370.
HSL color Cylindrical-coordinate representation of color #2A2579: hue angle of 243.57º degrees, saturation: 0.53, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.69%. Process color model (Four color, CMYK) of #2A2579 is Cyan = 0.65, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 42 | 37 | 121 | - |
| CMYK | 0.65 | 0.69 | 0 | 0.53 |
| HSL | 243.57º | 0.53% | 0.31% | - |
| HSV(B) | 243.57º | 0.69% | 0.47% | - |
| XYZ | 5.07 | 3.2 | 18.44 | - |
| YUV | 48.07 | 169.16 | 123.67 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 37 | 121 | 0.65 | 0.69 | 0 | 0.53 | 243.57 | 0.53 | 0.31 |
| Hex | 2A | 25 | 79 | 41 | 45 | 0 | 35 | F4 | 35 | 1F |
| Octal | 52 | 45 | 171 | 101 | 105 | 0 | 65 | 364 | 65 | 37 |
| Binary | 101010 | 100101 | 1111001 | 1000001 | 1000101 | 0 | 110101 | 11110100 | 110101 | 11111 |
Color Harmonies of #2A2579
Complementary color
Monochromatic Colors of #2A2579
Black with #2A2579
Text Example
Text Example
White with #2A2579
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A2579; }
p { color: rgb(42,37,121); }
H1.HeaderClassName
{
color: #2A2579;
}
.AnyTagClassName
{
color: #2A2579;
}
</style>
background-color css
<style>
a { background-color: #2A2579; }
a { background-color: rgb(42,37,121); }
div.DivClassName
{
background-color: #2A2579;
}
.BgClassName
{
background-color: #2A2579;
}
</style>
border-color css
<style>
span { border-color: #2A2579; }
span { border-color: rgb(42,37,121); }
td.TdClassName
{
border-color: #2A2579;
}
.TagClassName
{
border-color: #2A2579;
}
</style>