Shades of Midnight Blue #2A207A
Tints of Midnight Blue #2A207A
RGB
CMYK
RGB Variations
Color information
#2A207A (or 0x2A207A) is known color: Midnight Blue. HEX triplet: 2A, 20 and 7A. RGB value is (42,32,122). Sum of RGB (Red+Green+Blue) = 42+32+122=196 (25% of max value = 765). Red value is 42 (16.80% from 255 or 21.43% from 196); Green value is 32 (12.89% from 255 or 16.33% from 196); Blue value is 122 (48.05% from 255 or 62.24% from 196); Max value from RGB is 122 - color contains mainly: blue. Hex color #2A207A is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A207A is #D5DF85. Grayscale: #2C2C2C. Windows color (decimal): -14016390 or 8003626. OLE color: 8003626.
HSL color Cylindrical-coordinate representation of color #2A207A: hue angle of 246.67º degrees, saturation: 0.58, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #2A207A is Cyan = 0.66, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 42 | 32 | 122 | - |
| CMYK | 0.66 | 0.74 | 0 | 0.52 |
| HSL | 246.67º | 0.58% | 0.3% | - |
| HSV(B) | 246.67º | 0.74% | 0.48% | - |
| XYZ | 4.98 | 2.93 | 18.72 | - |
| YUV | 45.25 | 171.31 | 125.68 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 32 | 122 | 0.66 | 0.74 | 0 | 0.52 | 246.67 | 0.58 | 0.3 |
| Hex | 2A | 20 | 7A | 42 | 4A | 0 | 34 | F7 | 3A | 1E |
| Octal | 52 | 40 | 172 | 102 | 112 | 0 | 64 | 367 | 72 | 36 |
| Binary | 101010 | 100000 | 1111010 | 1000010 | 1001010 | 0 | 110100 | 11110111 | 111010 | 11110 |
Color Harmonies of #2A207A
Complementary color
Monochromatic Colors of #2A207A
Black with #2A207A
Text Example
Text Example
White with #2A207A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A207A; }
p { color: rgb(42,32,122); }
H1.HeaderClassName
{
color: #2A207A;
}
.AnyTagClassName
{
color: #2A207A;
}
</style>
background-color css
<style>
a { background-color: #2A207A; }
a { background-color: rgb(42,32,122); }
div.DivClassName
{
background-color: #2A207A;
}
.BgClassName
{
background-color: #2A207A;
}
</style>
border-color css
<style>
span { border-color: #2A207A; }
span { border-color: rgb(42,32,122); }
td.TdClassName
{
border-color: #2A207A;
}
.TagClassName
{
border-color: #2A207A;
}
</style>