Shades of Midnight Blue #2A2682
Tints of Midnight Blue #2A2682
RGB
CMYK
RGB Variations
Color information
#2A2682 (or 0x2A2682) is known color: Midnight Blue. HEX triplet: 2A, 26 and 82. RGB value is (42,38,130). Sum of RGB (Red+Green+Blue) = 42+38+130=210 (27% of max value = 765). Red value is 42 (16.80% from 255 or 20% from 210); Green value is 38 (15.23% from 255 or 18.10% from 210); Blue value is 130 (51.17% from 255 or 61.90% from 210); Max value from RGB is 130 - color contains mainly: blue. Hex color #2A2682 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #2A2682 is #D5D97D. Grayscale: #313131. Windows color (decimal): -14014846 or 8529450. OLE color: 8529450.
HSL color Cylindrical-coordinate representation of color #2A2682: hue angle of 242.61º degrees, saturation: 0.55, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.51% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #2A2682 is Cyan = 0.68, Magento = 0.71, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 42 | 38 | 130 | - |
| CMYK | 0.68 | 0.71 | 0 | 0.49 |
| HSL | 242.61º | 0.55% | 0.33% | - |
| HSV(B) | 242.61º | 0.71% | 0.51% | - |
| XYZ | 5.68 | 3.49 | 21.49 | - |
| YUV | 49.68 | 173.33 | 122.52 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 38 | 130 | 0.68 | 0.71 | 0 | 0.49 | 242.61 | 0.55 | 0.33 |
| Hex | 2A | 26 | 82 | 44 | 47 | 0 | 31 | F3 | 37 | 21 |
| Octal | 52 | 46 | 202 | 104 | 107 | 0 | 61 | 363 | 67 | 41 |
| Binary | 101010 | 100110 | 10000010 | 1000100 | 1000111 | 0 | 110001 | 11110011 | 110111 | 100001 |
Color Harmonies of #2A2682
Complementary color
Monochromatic Colors of #2A2682
Black with #2A2682
Text Example
Text Example
White with #2A2682
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A2682; }
p { color: rgb(42,38,130); }
H1.HeaderClassName
{
color: #2A2682;
}
.AnyTagClassName
{
color: #2A2682;
}
</style>
background-color css
<style>
a { background-color: #2A2682; }
a { background-color: rgb(42,38,130); }
div.DivClassName
{
background-color: #2A2682;
}
.BgClassName
{
background-color: #2A2682;
}
</style>
border-color css
<style>
span { border-color: #2A2682; }
span { border-color: rgb(42,38,130); }
td.TdClassName
{
border-color: #2A2682;
}
.TagClassName
{
border-color: #2A2682;
}
</style>