Shades of Midnight Blue #2A217A
Tints of Midnight Blue #2A217A
RGB
CMYK
RGB Variations
Color information
#2A217A (or 0x2A217A) is known color: Midnight Blue. HEX triplet: 2A, 21 and 7A. RGB value is (42,33,122). Sum of RGB (Red+Green+Blue) = 42+33+122=197 (26% of max value = 765). Red value is 42 (16.80% from 255 or 21.32% from 197); Green value is 33 (13.28% from 255 or 16.75% from 197); Blue value is 122 (48.05% from 255 or 61.93% from 197); Max value from RGB is 122 - color contains mainly: blue. Hex color #2A217A is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A217A is #D5DE85. Grayscale: #2D2D2D. Windows color (decimal): -14016134 or 8003882. OLE color: 8003882.
HSL color Cylindrical-coordinate representation of color #2A217A: hue angle of 246.07º degrees, saturation: 0.57, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #2A217A is Cyan = 0.66, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 42 | 33 | 122 | - |
| CMYK | 0.66 | 0.73 | 0 | 0.52 |
| HSL | 246.07º | 0.57% | 0.3% | - |
| HSV(B) | 246.07º | 0.73% | 0.48% | - |
| XYZ | 5.01 | 2.99 | 18.72 | - |
| YUV | 45.84 | 170.98 | 125.26 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 33 | 122 | 0.66 | 0.73 | 0 | 0.52 | 246.07 | 0.57 | 0.3 |
| Hex | 2A | 21 | 7A | 42 | 49 | 0 | 34 | F6 | 39 | 1E |
| Octal | 52 | 41 | 172 | 102 | 111 | 0 | 64 | 366 | 71 | 36 |
| Binary | 101010 | 100001 | 1111010 | 1000010 | 1001001 | 0 | 110100 | 11110110 | 111001 | 11110 |
Color Harmonies of #2A217A
Complementary color
Monochromatic Colors of #2A217A
Black with #2A217A
Text Example
Text Example
White with #2A217A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A217A; }
p { color: rgb(42,33,122); }
H1.HeaderClassName
{
color: #2A217A;
}
.AnyTagClassName
{
color: #2A217A;
}
</style>
background-color css
<style>
a { background-color: #2A217A; }
a { background-color: rgb(42,33,122); }
div.DivClassName
{
background-color: #2A217A;
}
.BgClassName
{
background-color: #2A217A;
}
</style>
border-color css
<style>
span { border-color: #2A217A; }
span { border-color: rgb(42,33,122); }
td.TdClassName
{
border-color: #2A217A;
}
.TagClassName
{
border-color: #2A217A;
}
</style>