Shades of Midnight Blue #2A2676
Tints of Midnight Blue #2A2676
RGB
CMYK
RGB Variations
Color information
#2A2676 (or 0x2A2676) is known color: Midnight Blue. HEX triplet: 2A, 26 and 76. RGB value is (42,38,118). Sum of RGB (Red+Green+Blue) = 42+38+118=198 (26% of max value = 765). Red value is 42 (16.80% from 255 or 21.21% from 198); Green value is 38 (15.23% from 255 or 19.19% from 198); Blue value is 118 (46.48% from 255 or 59.60% from 198); Max value from RGB is 118 - color contains mainly: blue. Hex color #2A2676 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A2676 is #D5D989. Grayscale: #303030. Windows color (decimal): -14014858 or 7743018. OLE color: 7743018.
HSL color Cylindrical-coordinate representation of color #2A2676: hue angle of 243º degrees, saturation: 0.51, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.46% and HSV saturation: 0.68%. Process color model (Four color, CMYK) of #2A2676 is Cyan = 0.64, Magento = 0.68, Yellow = 0 and Black (K on CMYK) = 0.54.
Color convert
| RGB | 42 | 38 | 118 | - |
| CMYK | 0.64 | 0.68 | 0 | 0.54 |
| HSL | 243º | 0.51% | 0.31% | - |
| HSV(B) | 243º | 0.68% | 0.46% | - |
| XYZ | 4.92 | 3.19 | 17.5 | - |
| YUV | 48.32 | 167.33 | 123.5 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 38 | 118 | 0.64 | 0.68 | 0 | 0.54 | 243 | 0.51 | 0.31 |
| Hex | 2A | 26 | 76 | 40 | 44 | 0 | 36 | F3 | 33 | 1F |
| Octal | 52 | 46 | 166 | 100 | 104 | 0 | 66 | 363 | 63 | 37 |
| Binary | 101010 | 100110 | 1110110 | 1000000 | 1000100 | 0 | 110110 | 11110011 | 110011 | 11111 |
Color Harmonies of #2A2676
Complementary color
Monochromatic Colors of #2A2676
Black with #2A2676
Text Example
Text Example
White with #2A2676
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A2676; }
p { color: rgb(42,38,118); }
H1.HeaderClassName
{
color: #2A2676;
}
.AnyTagClassName
{
color: #2A2676;
}
</style>
background-color css
<style>
a { background-color: #2A2676; }
a { background-color: rgb(42,38,118); }
div.DivClassName
{
background-color: #2A2676;
}
.BgClassName
{
background-color: #2A2676;
}
</style>
border-color css
<style>
span { border-color: #2A2676; }
span { border-color: rgb(42,38,118); }
td.TdClassName
{
border-color: #2A2676;
}
.TagClassName
{
border-color: #2A2676;
}
</style>