Shades of Midnight Blue #2A2686
Tints of Midnight Blue #2A2686
RGB
CMYK
RGB Variations
Color information
#2A2686 (or 0x2A2686) is known color: Midnight Blue. HEX triplet: 2A, 26 and 86. RGB value is (42,38,134). Sum of RGB (Red+Green+Blue) = 42+38+134=214 (28% of max value = 765). Red value is 42 (16.80% from 255 or 19.63% from 214); Green value is 38 (15.23% from 255 or 17.76% from 214); Blue value is 134 (52.73% from 255 or 62.62% from 214); Max value from RGB is 134 - color contains mainly: blue. Hex color #2A2686 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #2A2686 is #D5D979. Grayscale: #313131. Windows color (decimal): -14014842 or 8791594. OLE color: 8791594.
HSL color Cylindrical-coordinate representation of color #2A2686: hue angle of 242.5º degrees, saturation: 0.56, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.53% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #2A2686 is Cyan = 0.69, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.47.
Color convert
| RGB | 42 | 38 | 134 | - |
| CMYK | 0.69 | 0.72 | 0 | 0.47 |
| HSL | 242.5º | 0.56% | 0.34% | - |
| HSV(B) | 242.5º | 0.72% | 0.53% | - |
| XYZ | 5.95 | 3.6 | 22.94 | - |
| YUV | 50.14 | 175.33 | 122.19 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 38 | 134 | 0.69 | 0.72 | 0 | 0.47 | 242.5 | 0.56 | 0.34 |
| Hex | 2A | 26 | 86 | 45 | 48 | 0 | 2F | F2 | 38 | 22 |
| Octal | 52 | 46 | 206 | 105 | 110 | 0 | 57 | 362 | 70 | 42 |
| Binary | 101010 | 100110 | 10000110 | 1000101 | 1001000 | 0 | 101111 | 11110010 | 111000 | 100010 |
Color Harmonies of #2A2686
Complementary color
Monochromatic Colors of #2A2686
Black with #2A2686
Text Example
Text Example
White with #2A2686
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A2686; }
p { color: rgb(42,38,134); }
H1.HeaderClassName
{
color: #2A2686;
}
.AnyTagClassName
{
color: #2A2686;
}
</style>
background-color css
<style>
a { background-color: #2A2686; }
a { background-color: rgb(42,38,134); }
div.DivClassName
{
background-color: #2A2686;
}
.BgClassName
{
background-color: #2A2686;
}
</style>
border-color css
<style>
span { border-color: #2A2686; }
span { border-color: rgb(42,38,134); }
td.TdClassName
{
border-color: #2A2686;
}
.TagClassName
{
border-color: #2A2686;
}
</style>