Shades of Midnight Blue #2A2074
Tints of Midnight Blue #2A2074
RGB
CMYK
RGB Variations
Color information
#2A2074 (or 0x2A2074) is known color: Midnight Blue. HEX triplet: 2A, 20 and 74. RGB value is (42,32,116). Sum of RGB (Red+Green+Blue) = 42+32+116=190 (25% of max value = 765). Red value is 42 (16.80% from 255 or 22.11% from 190); Green value is 32 (12.89% from 255 or 16.84% from 190); Blue value is 116 (45.70% from 255 or 61.05% from 190); Max value from RGB is 116 - color contains mainly: blue. Hex color #2A2074 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A2074 is #D5DF8B. Grayscale: #2C2C2C. Windows color (decimal): -14016396 or 7610410. OLE color: 7610410.
HSL color Cylindrical-coordinate representation of color #2A2074: hue angle of 247.14º degrees, saturation: 0.57, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #2A2074 is Cyan = 0.64, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 42 | 32 | 116 | - |
| CMYK | 0.64 | 0.72 | 0 | 0.55 |
| HSL | 247.14º | 0.57% | 0.29% | - |
| HSV(B) | 247.14º | 0.72% | 0.45% | - |
| XYZ | 4.62 | 2.79 | 16.82 | - |
| YUV | 44.57 | 168.31 | 126.17 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 32 | 116 | 0.64 | 0.72 | 0 | 0.55 | 247.14 | 0.57 | 0.29 |
| Hex | 2A | 20 | 74 | 40 | 48 | 0 | 37 | F7 | 39 | 1D |
| Octal | 52 | 40 | 164 | 100 | 110 | 0 | 67 | 367 | 71 | 35 |
| Binary | 101010 | 100000 | 1110100 | 1000000 | 1001000 | 0 | 110111 | 11110111 | 111001 | 11101 |
Color Harmonies of #2A2074
Complementary color
Monochromatic Colors of #2A2074
Black with #2A2074
Text Example
Text Example
White with #2A2074
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A2074; }
p { color: rgb(42,32,116); }
H1.HeaderClassName
{
color: #2A2074;
}
.AnyTagClassName
{
color: #2A2074;
}
</style>
background-color css
<style>
a { background-color: #2A2074; }
a { background-color: rgb(42,32,116); }
div.DivClassName
{
background-color: #2A2074;
}
.BgClassName
{
background-color: #2A2074;
}
</style>
border-color css
<style>
span { border-color: #2A2074; }
span { border-color: rgb(42,32,116); }
td.TdClassName
{
border-color: #2A2074;
}
.TagClassName
{
border-color: #2A2074;
}
</style>