Shades of Midnight Blue #2A2779
Tints of Midnight Blue #2A2779
RGB
CMYK
RGB Variations
Color information
#2A2779 (or 0x2A2779) is known color: Midnight Blue. HEX triplet: 2A, 27 and 79. RGB value is (42,39,121). Sum of RGB (Red+Green+Blue) = 42+39+121=202 (26% of max value = 765). Red value is 42 (16.80% from 255 or 20.79% from 202); Green value is 39 (15.62% from 255 or 19.31% from 202); Blue value is 121 (47.66% from 255 or 59.90% from 202); Max value from RGB is 121 - color contains mainly: blue. Hex color #2A2779 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A2779 is #D5D886. Grayscale: #303030. Windows color (decimal): -14014599 or 7939882. OLE color: 7939882.
HSL color Cylindrical-coordinate representation of color #2A2779: hue angle of 242.2º degrees, saturation: 0.51, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.68%. Process color model (Four color, CMYK) of #2A2779 is Cyan = 0.65, Magento = 0.68, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 42 | 39 | 121 | - |
| CMYK | 0.65 | 0.68 | 0 | 0.53 |
| HSL | 242.2º | 0.51% | 0.31% | - |
| HSV(B) | 242.2º | 0.68% | 0.47% | - |
| XYZ | 5.13 | 3.32 | 18.46 | - |
| YUV | 49.25 | 168.49 | 122.83 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 39 | 121 | 0.65 | 0.68 | 0 | 0.53 | 242.2 | 0.51 | 0.31 |
| Hex | 2A | 27 | 79 | 41 | 44 | 0 | 35 | F2 | 33 | 1F |
| Octal | 52 | 47 | 171 | 101 | 104 | 0 | 65 | 362 | 63 | 37 |
| Binary | 101010 | 100111 | 1111001 | 1000001 | 1000100 | 0 | 110101 | 11110010 | 110011 | 11111 |
Color Harmonies of #2A2779
Complementary color
Monochromatic Colors of #2A2779
Black with #2A2779
Text Example
Text Example
White with #2A2779
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A2779; }
p { color: rgb(42,39,121); }
H1.HeaderClassName
{
color: #2A2779;
}
.AnyTagClassName
{
color: #2A2779;
}
</style>
background-color css
<style>
a { background-color: #2A2779; }
a { background-color: rgb(42,39,121); }
div.DivClassName
{
background-color: #2A2779;
}
.BgClassName
{
background-color: #2A2779;
}
</style>
border-color css
<style>
span { border-color: #2A2779; }
span { border-color: rgb(42,39,121); }
td.TdClassName
{
border-color: #2A2779;
}
.TagClassName
{
border-color: #2A2779;
}
</style>