Shades of Midnight Blue #2A2787
Tints of Midnight Blue #2A2787
RGB
CMYK
RGB Variations
Color information
#2A2787 (or 0x2A2787) is known color: Midnight Blue. HEX triplet: 2A, 27 and 87. RGB value is (42,39,135). Sum of RGB (Red+Green+Blue) = 42+39+135=216 (28% of max value = 765). Red value is 42 (16.80% from 255 or 19.44% from 216); Green value is 39 (15.62% from 255 or 18.06% from 216); Blue value is 135 (53.12% from 255 or 62.5% from 216); Max value from RGB is 135 - color contains mainly: blue. Hex color #2A2787 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #2A2787 is #D5D878. Grayscale: #323232. Windows color (decimal): -14014585 or 8857386. OLE color: 8857386.
HSL color Cylindrical-coordinate representation of color #2A2787: hue angle of 241.88º degrees, saturation: 0.55, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.53% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #2A2787 is Cyan = 0.69, Magento = 0.71, Yellow = 0 and Black (K on CMYK) = 0.47.
Color convert
| RGB | 42 | 39 | 135 | - |
| CMYK | 0.69 | 0.71 | 0 | 0.47 |
| HSL | 241.88º | 0.55% | 0.34% | - |
| HSV(B) | 241.88º | 0.71% | 0.53% | - |
| XYZ | 6.05 | 3.69 | 23.32 | - |
| YUV | 50.84 | 175.49 | 121.69 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 39 | 135 | 0.69 | 0.71 | 0 | 0.47 | 241.88 | 0.55 | 0.34 |
| Hex | 2A | 27 | 87 | 45 | 47 | 0 | 2F | F2 | 37 | 22 |
| Octal | 52 | 47 | 207 | 105 | 107 | 0 | 57 | 362 | 67 | 42 |
| Binary | 101010 | 100111 | 10000111 | 1000101 | 1000111 | 0 | 101111 | 11110010 | 110111 | 100010 |
Color Harmonies of #2A2787
Complementary color
Monochromatic Colors of #2A2787
Black with #2A2787
Text Example
Text Example
White with #2A2787
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A2787; }
p { color: rgb(42,39,135); }
H1.HeaderClassName
{
color: #2A2787;
}
.AnyTagClassName
{
color: #2A2787;
}
</style>
background-color css
<style>
a { background-color: #2A2787; }
a { background-color: rgb(42,39,135); }
div.DivClassName
{
background-color: #2A2787;
}
.BgClassName
{
background-color: #2A2787;
}
</style>
border-color css
<style>
span { border-color: #2A2787; }
span { border-color: rgb(42,39,135); }
td.TdClassName
{
border-color: #2A2787;
}
.TagClassName
{
border-color: #2A2787;
}
</style>