Shades of Midnight Blue #2A247A
Tints of Midnight Blue #2A247A
RGB
CMYK
RGB Variations
Color information
#2A247A (or 0x2A247A) is known color: Midnight Blue. HEX triplet: 2A, 24 and 7A. RGB value is (42,36,122). Sum of RGB (Red+Green+Blue) = 42+36+122=200 (26% of max value = 765). Red value is 42 (16.80% from 255 or 21% from 200); Green value is 36 (14.45% from 255 or 18% from 200); Blue value is 122 (48.05% from 255 or 61% from 200); Max value from RGB is 122 - color contains mainly: blue. Hex color #2A247A is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A247A is #D5DB85. Grayscale: #2F2F2F. Windows color (decimal): -14015366 or 8004650. OLE color: 8004650.
HSL color Cylindrical-coordinate representation of color #2A247A: hue angle of 244.19º degrees, saturation: 0.54, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #2A247A is Cyan = 0.66, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 42 | 36 | 122 | - |
| CMYK | 0.66 | 0.70 | 0 | 0.52 |
| HSL | 244.19º | 0.54% | 0.31% | - |
| HSV(B) | 244.19º | 0.7% | 0.48% | - |
| XYZ | 5.1 | 3.16 | 18.75 | - |
| YUV | 47.6 | 169.99 | 124.01 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 36 | 122 | 0.66 | 0.70 | 0 | 0.52 | 244.19 | 0.54 | 0.31 |
| Hex | 2A | 24 | 7A | 42 | 46 | 0 | 34 | F4 | 36 | 1F |
| Octal | 52 | 44 | 172 | 102 | 106 | 0 | 64 | 364 | 66 | 37 |
| Binary | 101010 | 100100 | 1111010 | 1000010 | 1000110 | 0 | 110100 | 11110100 | 110110 | 11111 |
Color Harmonies of #2A247A
Complementary color
Monochromatic Colors of #2A247A
Black with #2A247A
Text Example
Text Example
White with #2A247A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A247A; }
p { color: rgb(42,36,122); }
H1.HeaderClassName
{
color: #2A247A;
}
.AnyTagClassName
{
color: #2A247A;
}
</style>
background-color css
<style>
a { background-color: #2A247A; }
a { background-color: rgb(42,36,122); }
div.DivClassName
{
background-color: #2A247A;
}
.BgClassName
{
background-color: #2A247A;
}
</style>
border-color css
<style>
span { border-color: #2A247A; }
span { border-color: rgb(42,36,122); }
td.TdClassName
{
border-color: #2A247A;
}
.TagClassName
{
border-color: #2A247A;
}
</style>